Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Modifying a boolean to have an output other than (true) or (false)
- flutehamster
- Scratcher
500+ posts
Modifying a boolean to have an output other than (true) or (false)
I have a couple theories -
The purpose of this is to allow a Cloud Var to accept characters besides 1234567890 and 1 {.}.
Gives you…
And it saves!
- Maybe altering the truth table? Can that be done?
- Messing with the JSON so the input is the same as the output…
- Nothing else…
The purpose of this is to allow a Cloud Var to accept characters besides 1234567890 and 1 {.}.
set [☁hack v] to [<<> and < >> ]
Gives you…
<(☁hack) = [false ]>
And it saves!
- flutehamster
- Scratcher
500+ posts
Modifying a boolean to have an output other than (true) or (false)
- Blank1234
- Scratcher
500+ posts
Modifying a boolean to have an output other than (true) or (false)
Thats because True or False are considered values by most programming language
Did you know that “kaj” means “and” in Esperanto?
Totally not for SEO:
https://scratch.mit.edu/projects/85467306/
https://scratch.mit.edu/projects/83099266/
https://scratch.mit.edu/projects/81628056/
https://scratch.mit.edu/projects/81562288/
https://scratch.mit.edu/projects/81462110/
https://scratch.mit.edu/projects/81436112/
https://scratch.mit.edu/projects/78896920/
https://scratch.mit.edu/projects/78863998/
https://scratch.mit.edu/projects/76577776/
https://scratch.mit.edu/projects/76459270/
https://scratch.mit.edu/projects/74797364/
https://scratch.mit.edu/projects/74085188/
https://scratch.mit.edu/projects/73150274/
https://scratch.mit.edu/projects/73112658/
https://scratch.mit.edu/projects/72484040/
https://scratch.mit.edu/projects/72737486/
https://scratch.mit.edu/projects/72410420/
https://scratch.mit.edu/projects/72378152/
https://scratch.mit.edu/projects/71910314/
https://scratch.mit.edu/projects/67826618/
https://scratch.mit.edu/projects/67882676/
https://scratch.mit.edu/projects/66909070/
https://scratch.mit.edu/projects/66925858/
https://scratch.mit.edu/projects/66420350/
https://scratch.mit.edu/projects/66062314/
https://scratch.mit.edu/projects/65564542/
https://scratch.mit.edu/projects/64828196/
https://scratch.mit.edu/projects/64286296/
https://scratch.mit.edu/projects/64283600/
https://scratch.mit.edu/projects/62386850/
https://scratch.mit.edu/projects/63907584/
https://scratch.mit.edu/projects/62785306/
https://scratch.mit.edu/projects/63767660/
https://scratch.mit.edu/projects/62676562/
https://scratch.mit.edu/projects/61948978/
https://scratch.mit.edu/projects/62521426/
https://scratch.mit.edu/projects/61074988/
https://scratch.mit.edu/projects/11658256/
https://scratch.mit.edu/projects/60640274/
- WooHooBoy
- Scratcher
1000+ posts
Modifying a boolean to have an output other than (true) or (false)
You can update your posts with the EDIT button.
So….
There's a fundamental problem with this.
Scratch is setting the cloud var toThis is very different than Scratch converts the value to a string when you visit the cloudmonitor page.
So….
There's a fundamental problem with this.
Scratch is setting the cloud var to
True
"True"
considered harmful
- flutehamster
- Scratcher
500+ posts
Modifying a boolean to have an output other than (true) or (false)
- WooHooBoy
- Scratcher
1000+ posts
Modifying a boolean to have an output other than (true) or (false)
Exactly! That makes sense.
SoTrueIsn't what's actually in the var, it's the value true.
I think.
I think
considered harmful
- flutehamster
- Scratcher
500+ posts
Modifying a boolean to have an output other than (true) or (false)
- WooHooBoy
- Scratcher
1000+ posts
Modifying a boolean to have an output other than (true) or (false)
No, wait a day.
Maybe somebody can prove us wrong
Maybe somebody can prove us wrong
considered harmful
- flutehamster
- Scratcher
500+ posts
Modifying a boolean to have an output other than (true) or (false)
░░░░░░░░░░░░▄▄░░░░░░░░░
░░░░░░░░░░░█░░█░░░░░░░░
░░░░░░░░░░░█░░█░░░░░░░░
░░░░░░░░░░█░░░█░░░░░░░░
░░░░░░░░░█░░░░█░░░░░░░░
███████▄▄█░░░░░██████▄░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░
▓▓▓▓▓▓█████░░░░░░░░░█░░
██████▀░░░░▀▀██████▀░░░
░░░░░░░░░░░█░░█░░░░░░░░
░░░░░░░░░░░█░░█░░░░░░░░
░░░░░░░░░░█░░░█░░░░░░░░
░░░░░░░░░█░░░░█░░░░░░░░
███████▄▄█░░░░░██████▄░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░
▓▓▓▓▓▓█████░░░░░░░░░█░░
██████▀░░░░▀▀██████▀░░░
- Jonathan50
- Scratcher
1000+ posts
Modifying a boolean to have an output other than (true) or (false)
It's not possible to change the output of a reporter/boolean to set a cloud var to anything other than numbers.
It's not hacked, those are boolean values and not actually strings, which ARE permitted in cloud variables (actually 0=false and 1=true, so they are still numbers). You can use hexadecimal instead of decimal. To use hexadecimal just prefix all your numbers with 0x and they will be treated as integers (you can store them in cloud vars, and you can multiply, divide, add and anything else although if you use maths it will return the corresponding decimal number).
So no…
It's not hacked, those are boolean values and not actually strings, which ARE permitted in cloud variables (actually 0=false and 1=true, so they are still numbers). You can use hexadecimal instead of decimal. To use hexadecimal just prefix all your numbers with 0x and they will be treated as integers (you can store them in cloud vars, and you can multiply, divide, add and anything else although if you use maths it will return the corresponding decimal number).
So no…
Not yet a Knight of the Mu Calculus.
- flutehamster
- Scratcher
500+ posts
Modifying a boolean to have an output other than (true) or (false)
- Discussion Forums
- » Advanced Topics
- » Modifying a boolean to have an output other than (true) or (false)