Discuss Scratch
- Discussion Forums
- » Suggestions
- » Suggestion: "true" and "false" booleans!
- ZozaTech
-
Scratcher
500+ posts
Suggestion: "true" and "false" booleans!
No support. Easy workaround. New scratchers know that 1 is not = to 7
60 second rule agh
60 second rule agh
- Cream_E_Cookie
-
Scratcher
1000+ posts
Suggestion: "true" and "false" booleans!
No support as per above.Yep. Also, i won't see any use often.
Last edited by Cream_E_Cookie (Sept. 12, 2015 18:35:54)
- VoltageGames
-
Scratcher
1000+ posts
Suggestion: "true" and "false" booleans!
can you actually give an example of where this would be used in Scratch?
Yes, most programming languages have TRUE and FALSE but that's because they have boolean values. We just have floats and integers.
So to use this in Scratch, example below:
also yeah, workaround.
and if we just hand new scratchers everything they need on a silver platter, they'll never learn.
Yes, most programming languages have TRUE and FALSE but that's because they have boolean values. We just have floats and integers.
So to use this in Scratch, example below:
if <true::operators> thenwould mean you're just using raw true/false, but it's not something the script will change like variable values so you know automatically that it will be true, and you can just leave out the if.
move (10) steps
end
also yeah, workaround.
and if we just hand new scratchers everything they need on a silver platter, they'll never learn.
Last edited by VoltageGames (Sept. 12, 2015 22:38:27)
- seanbobe
-
Scratcher
500+ posts
Suggestion: "true" and "false" booleans!
<not <>>
<not <not <>>>
no support.
- Jonathan50
-
Scratcher
1000+ posts
Suggestion: "true" and "false" booleans!
can you actually give an example of where this would be used in Scratch?
Yes, most programming languages have TRUE and FALSE but that's because they have boolean values. We just have floats and integers.
So to use this in Scratch, example below:if <true::operators> thenwould mean you're just using raw true/false, but it's not something the script will change like variable values so you know automatically that it will be true, and you can just leave out the if.
move (10) steps
end
also yeah, workaround.
and if we just hand new scratchers everything they need on a silver platter, they'll never learn.
- DaSpudLord
-
Scratcher
1000+ posts
Suggestion: "true" and "false" booleans!
This. I came here to post this exact argument (came up with it in my head), but I guess I got ninja'd…can you actually give an example of where this would be used in Scratch?
Yes, most programming languages have TRUE and FALSE but that's because they have boolean values. We just have floats and integers.
So to use this in Scratch, example below:if <true::operators> thenwould mean you're just using raw true/false, but it's not something the script will change like variable values so you know automatically that it will be true, and you can just leave out the if.
move (10) steps
end
also yeah, workaround.
and if we just hand new scratchers everything they need on a silver platter, they'll never learn.
Last edited by DaSpudLord (Sept. 12, 2015 21:32:32)
- Zekrom01
-
Scratcher
1000+ posts
Suggestion: "true" and "false" booleans!
Actually, changing to no support as per above
- Jonathan50
-
Scratcher
1000+ posts
Suggestion: "true" and "false" booleans!
I do kind of agree, but I quoted that post to make the true block operatorsThis. I came here to post this exact argument (came up with it in my head), but I guess I got ninja'd…can you actually give an example of where this would be used in Scratch?
Yes, most programming languages have TRUE and FALSE but that's because they have boolean values. We just have floats and integers.
So to use this in Scratch, example below:if <true::operators> thenwould mean you're just using raw true/false, but it's not something the script will change like variable values so you know automatically that it will be true, and you can just leave out the if.
move (10) steps
end
also yeah, workaround.
and if we just hand new scratchers everything they need on a silver platter, they'll never learn.
- zorfo1
-
Scratcher
100+ posts
Suggestion: "true" and "false" booleans!
No support easy workaround , all that new scratchers need is some basic knowledge of math
- rollercoasterfan
-
Scratcher
1000+ posts
Suggestion: "true" and "false" booleans!
Workaround in my sticky.
- Discussion Forums
- » Suggestions
-
» Suggestion: "true" and "false" booleans!












