Discuss Scratch

mybearworld
Scratcher
1000+ posts

NewType, a new and easy programming language

Rendangbike2 wrote:

mybearworld wrote:

Rendangbike2 wrote:

HPD1155 wrote:

x = (True)
if (x) :
     say [Yes]
 elif :
     say [No]
That's just Python
No.
x = True
if x:
    print("Yes")
elif not x:
    print("No")
(Though here, you could replace “elif not x:” with a simple “else”.)
but if staments in newtype is with {}
Yeah, but that is python.

Signatures are the only place where assets links still work.
Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

mybearworld wrote:

Rendangbike2 wrote:

mybearworld wrote:

Rendangbike2 wrote:

HPD1155 wrote:

x = (True)
if (x) :
     say [Yes]
 elif :
     say [No]
That's just Python
No.
x = True
if x:
    print("Yes")
elif not x:
    print("No")
(Though here, you could replace “elif not x:” with a simple “else”.)
but if staments in newtype is with {}
Yeah, but that is python.
python doesn't use {}




HPD1155
Scratcher
100+ posts

NewType, a new and easy programming language

Rendangbike2 wrote:

Vaibhs11 wrote:

Rendangbike2 wrote:

HPD1155 wrote:

x = (True)
if (x) :
     say [Yes]
 elif :
     say [No]
That's just Python

Rendangbike2 wrote:

For the else if statement:
else if,
elseif,
elsif or
elif?
maybe not elif
oohhhhhhh
HOW ABOUT
elsif

i luv koenigseggs I is a hackr FYI
console.log(“hi); I’m an ethical hacker FYI
mybearworld
Scratcher
1000+ posts

NewType, a new and easy programming language

I'd go to else if - it's the easiest to understand.

Signatures are the only place where assets links still work.
Maximouse
Scratcher
1000+ posts

NewType, a new and easy programming language

HPD1155 wrote:

HOW ABOUT
elsif
I think “elsif” is weird, and the only language I've heard of that uses elsif is Ruby.


This is Maximouse's signature. Learn more about signatures.
HPD1155
Scratcher
100+ posts

NewType, a new and easy programming language

Maximouse wrote:

HPD1155 wrote:

HOW ABOUT
elsif
I think “elsif” is weird, and the only language I've heard of that uses elsif is Ruby.
elf
⨀w⨀ this one

Last edited by HPD1155 (Jan. 12, 2021 14:37:32)


i luv koenigseggs I is a hackr FYI
console.log(“hi); I’m an ethical hacker FYI
mybearworld
Scratcher
1000+ posts

NewType, a new and easy programming language

Rendangbike2 wrote:

mybearworld wrote:

Rendangbike2 wrote:

mybearworld wrote:

HPD1155 wrote:

x = (True)
if (x) :
     say [Yes]
 elif :
     say [No]
That's just Python
No.
x = True
if x:
    print("Yes")
elif not x:
    print("No")
-snip-
python doesn't use {}
HPD1155 said that
x = (True)
if (x) :
say [Yes]
elif :
say [No]
is just python, and I said “No”, python is different.


Signatures are the only place where assets links still work.
mybearworld
Scratcher
1000+ posts

NewType, a new and easy programming language

(removed by mybearworld because the site lagged)

Last edited by mybearworld (Jan. 12, 2021 14:39:53)


Signatures are the only place where assets links still work.
Vaibhs11
Scratcher
1000+ posts

NewType, a new and easy programming language

HPD1155 wrote:

Maximouse wrote:

HPD1155 wrote:

HOW ABOUT
elsif
I think “elsif” is weird, and the only language I've heard of that uses elsif is Ruby.
elf
⨀w⨀ this one
christmas is long gone
Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

HPD1155 wrote:

Maximouse wrote:

HPD1155 wrote:

HOW ABOUT
elsif
I think “elsif” is weird, and the only language I've heard of that uses elsif is Ruby.
elf
⨀w⨀ this one
lol




Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

In every programming language,
There is an element of packages
You'll add the packages,
And Snap! More feature for your PL !
import popup
popup.alert[This is an example of a package that can make popups!]
ans = popup.prompt[This feature can ask questions!]

Last edited by Rendangbike2 (Jan. 13, 2021 14:13:16)





mybearworld
Scratcher
1000+ posts

NewType, a new and easy programming language

download seems a little misleading. I'd go for python's syntax here.
import tkinter.messagebox as MsgBox
MsgBox.showmessage("", "This is an example of a module that can do this")
Edit: Yeah, that's better

Last edited by mybearworld (Jan. 13, 2021 14:27:01)


Signatures are the only place where assets links still work.
Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

mybearworld wrote:

download seems a little misleading. I'd go for python's syntax here.
import tkinter.messagebox as MsgBox
MsgBox.showmessage("", "This is an example of a module that can do this")
import it is!




Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

mybearworld wrote:

download seems a little misleading. I'd go for python's syntax here.
import tkinter.messagebox as MsgBox
MsgBox.showmessage("", "This is an example of a module that can do this")
Edit: Yeah, that's better
Thanks!




Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

Vaibhs11 wrote:

HPD1155 wrote:

Maximouse wrote:

HPD1155 wrote:

HOW ABOUT
elsif
I think “elsif” is weird, and the only language I've heard of that uses elsif is Ruby.
elf
⨀w⨀ this one
christmas is long gone
i dont selebretb krismes




mybearworld
Scratcher
1000+ posts

NewType, a new and easy programming language

I really think else if is a good syntax. I'll do that in TextScratch I think.

Signatures are the only place where assets links still work.
HPD1155
Scratcher
100+ posts

NewType, a new and easy programming language

@rendangbike2 can you make me an admin in the NewType team in repl.it

i luv koenigseggs I is a hackr FYI
console.log(“hi); I’m an ethical hacker FYI
HPD1155
Scratcher
100+ posts

NewType, a new and easy programming language

anyone can get a free domain from freenom.com or someplace

i luv koenigseggs I is a hackr FYI
console.log(“hi); I’m an ethical hacker FYI
Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

HPD1155 wrote:

@rendangbike2 can you make me an admin in the NewType team in repl.it
OK!




Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

HPD1155 wrote:

anyone can get a free domain from freenom.com or someplace
Good luck




Powered by DjangoBB