Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » if <> then
- Tierage27
-
100+ posts
if <> then
This may seem weird, but I don't remember there being a then there. Was that just added? I don't think I saw it 30 minutes ago when making a few scripts and blocks.
- bobbysq
-
100+ posts
if <> then
Despite the fact that that's how it's worded in every other programming language?
- veggieman001
-
1000+ posts
if <> then
Since when? Despite the fact that that's how it's worded in every other programming language?
Not in Java, C/++/#, JavaScript, Python, PHP…etc.
Still, it's worded like that in several BASIC-like languages. I think it makes more sense TBH because it helps explain why it's got a little hole in the middle a little better for beginners. Plus it's like the exact same block so it's not really that big of a deal.
- Laternenpfahl
-
500+ posts
if <> then
Obj-c (:-/) alsoSince when? Despite the fact that that's how it's worded in every other programming language?
Not in Java, C/++/#, JavaScript, Python, PHP…etc.
Still, it's worded like that in several BASIC-like languages. I think it makes more sense TBH because it helps explain why it's got a little hole in the middle a little better for beginners. Plus it's like the exact same block so it's not really that big of a deal.
- veggieman001
-
1000+ posts
if <> then
By C/++/# I just meant versions of C.Obj-c (:-/) alsoSince when? Despite the fact that that's how it's worded in every other programming language?
Not in Java, C/++/#, JavaScript, Python, PHP…etc.
Still, it's worded like that in several BASIC-like languages. I think it makes more sense TBH because it helps explain why it's got a little hole in the middle a little better for beginners. Plus it's like the exact same block so it's not really that big of a deal.
- bobbysq
-
100+ posts
if <> then
Lua, but I guess that's considered “BASIC-like”Since when? Despite the fact that that's how it's worded in every other programming language?
Not in Java, C/++/#, JavaScript, Python, PHP…etc.
Still, it's worded like that in several BASIC-like languages. I think it makes more sense TBH because it helps explain why it's got a little hole in the middle a little better for beginners. Plus it's like the exact same block so it's not really that big of a deal.
- botcrusher
-
500+ posts
if <> then
for the less serious programers as an example the lego coding system (i dont mean nxt) is worded like that
- veggieman001
-
1000+ posts
if <> then
I don't think it is considered BASIC-like, actually, but I'm not familiar with its syntax so that'd explain why I excluded it. ^^Lua, but I guess that's considered “BASIC-like”Since when? Despite the fact that that's how it's worded in every other programming language?
Not in Java, C/++/#, JavaScript, Python, PHP…etc.
Still, it's worded like that in several BASIC-like languages. I think it makes more sense TBH because it helps explain why it's got a little hole in the middle a little better for beginners. Plus it's like the exact same block so it's not really that big of a deal.
- Nomolos
-
100+ posts
if <> then
Yeah, I don't like this ‘then’ either. Why can't they keep it to just ‘if <>’?!
- Tierage27
-
100+ posts
if <> then
I think it's because that then makes it more simple, and like some other programming languages. Yeah, I don't like this ‘then’ either. Why can't they keep it to just ‘if <>’?!
- Discussion Forums
- » Questions about Scratch
-
» if <> then