Discuss Scratch
- Discussion Forums
- » Suggestions
- » Collapsible nested Booleans
- VeryFamus
- Scratcher
1000+ posts
Collapsible nested Booleans
The title kind of explains it:
Can be useful for long booleans stretching over your code
also an example as for multiple nests
<<> or <<> and <>>>to this:
<<> or <<> and <>>^ :: operators>to this:
<<> or v :: operators>
Can be useful for long booleans stretching over your code
also an example as for multiple nests
<<> or <<> and <<> and <>>>>to this:
<<> or <<> and <<> and <>>^ :: operators>^ :: operators>to this:
<<> or v :: operators>or this
<<> or <<> and v :: operators>^ :: operators>
Last edited by VeryFamus (Feb. 25, 2022 14:56:52)
some know me as the guy who only posted in suggestions
i have returned once more
Lamp oil, rope, bombs. You want it? It’s yours my friend. As long as you have enough rupies.
- ayandhisarmy
- Scratcher
100+ posts
Collapsible nested Booleans
support,sounds likes a very good idea if you have stuff like:
if < <key [a v] pressed?> or < <key [s v] pressed?> or < <key [w v] pressed?> or <key [d v] pressed?> >>> then
end
no support + dupe + rejected + sus + dont care + didnt ask + illegal + codeless + shut + feddy fazbar + sega + Cease and Desist + alison + gorkamungus
thanks to Aadish_1759 and terrariamods for the front facing cat emoji.
say hello to my….
GIANT KITTEN FORUM ARMY!
the scratch spacecraft ( (=^-^= :: #00ffff) (=^-^= :: #00ffff) (=^-^= :: #00ffff) :: ring) :: hat(cats!)
(shortened due to signature limit)
we will do stuff on the forums!they are also my kumquat fighters.
https://www.youtube.com/watch?v=Hvw2cNQUuUc <cat on ice
funnny
- mcsquaggle
- Scratcher
500+ posts
Collapsible nested Booleans
can you make a simple version of it? im confuse The title kind of explains it:<<> or <<> and <>>>to this:<<> or <<> and <>>^ :: operators>to this:<<> or v :: operators>
Can be useful for long booleans stretching over your code
also an example as for multiple nests<<> or <<> and <<> and <>>>>to this:<<> or <<> and <<> and <>>^ :: operators>^ :: operators>to this:<<> or v :: operators>or this<<> or <<> and v :: operators>^ :: operators>
so this:
if <<key [space v] pressed?> or <key [w v] pressed?>> thenwould turn into this:
show
else
hide
end
if <<key [space v] pressed?> or ... ➤::operators> thenig.. support
show
else
hide
end
highlight and down arrow to see all of it
this is joe: joe is protecc and this is frank (A-156 or RD-156): frank likes signatures for breakfast, HE EATS oh noes! your signature was eaten by frank! img]https://cdn2.scratch.mit.edu/get_image/project/881644940_100x80.png[/img copy this (add back the ['s) to have frank eat your signature!
(:>::#bb88f6) //jerry says hi
set [ v] to (:>::#bb88f6)//jerry block
:>::#bb88f6 hat
:>::#bb88f6
:>(:>::#bb88f6)::#bb88f6
:> [#aa77e5]::#bb88f6
:> (:>::#bb88f6 boolean){
:>::#bb88f6
:>::#bb88f6
:> ( :> v) (:>::#bb88a1 stack) @addInput ::#bb88f6
:> ::#bb88f6 cap
} :> (:>::#bb88f6) ::#bb88f6
:> [:> v] ::#bb88f6 cap
::#bb88f6 boolean
B̴̴̸͕͖͖͕̪͔̻͑͒̓͑͑̔̐̕͝E̵̵̴̠̺͔͎̫͖͖̝͑̽̓̀̓̚͘̚A̴̴̸͔̠̟͉͎̼͚̝̿͊̀̐͑͌̓͛͜͠N̵̸̵̦̻̺͇͉͍͓͚͕͊̐̒̒̾̀̐̿
- VeryFamus
- Scratcher
1000+ posts
Collapsible nested Booleans
Thanks for the ego boost, but please don't quote the OP.can you make a simple version of it? im confuse -snip-
so this:if <<key [space v] pressed?> or <key [w v] pressed?>> thenwould turn into this:
show
else
hide
endif <<key [space v] pressed?> or ... ➤::operators> thenig.. support
show
else
hide
end
Last edited by VeryFamus (Feb. 25, 2022 16:19:43)
some know me as the guy who only posted in suggestions
i have returned once more
Lamp oil, rope, bombs. You want it? It’s yours my friend. As long as you have enough rupies.
- mcsquaggle
- Scratcher
500+ posts
Collapsible nested Booleans
Oke!Thanks for the ego boost, but please don't quote the OP.can you make a simple version of it? im confuse -snip-
so this:if <<key [space v] pressed?> or <key [w v] pressed?>> thenwould turn into this:
show
else
hide
endif <<key [space v] pressed?> or ... ➤::operators> thenig.. support
show
else
hide
end
highlight and down arrow to see all of it
this is joe: joe is protecc and this is frank (A-156 or RD-156): frank likes signatures for breakfast, HE EATS oh noes! your signature was eaten by frank! img]https://cdn2.scratch.mit.edu/get_image/project/881644940_100x80.png[/img copy this (add back the ['s) to have frank eat your signature!
(:>::#bb88f6) //jerry says hi
set [ v] to (:>::#bb88f6)//jerry block
:>::#bb88f6 hat
:>::#bb88f6
:>(:>::#bb88f6)::#bb88f6
:> [#aa77e5]::#bb88f6
:> (:>::#bb88f6 boolean){
:>::#bb88f6
:>::#bb88f6
:> ( :> v) (:>::#bb88a1 stack) @addInput ::#bb88f6
:> ::#bb88f6 cap
} :> (:>::#bb88f6) ::#bb88f6
:> [:> v] ::#bb88f6 cap
::#bb88f6 boolean
B̴̴̸͕͖͖͕̪͔̻͑͒̓͑͑̔̐̕͝E̵̵̴̠̺͔͎̫͖͖̝͑̽̓̀̓̚͘̚A̴̴̸͔̠̟͉͎̼͚̝̿͊̀̐͑͌̓͛͜͠N̵̸̵̦̻̺͇͉͍͓͚͕͊̐̒̒̾̀̐̿
- VeryFamus
- Scratcher
1000+ posts
Collapsible nested Booleans
Bump!
some know me as the guy who only posted in suggestions
i have returned once more
Lamp oil, rope, bombs. You want it? It’s yours my friend. As long as you have enough rupies.
- mcsquaggle
- Scratcher
500+ posts
Collapsible nested Booleans
um
b p
b p
highlight and down arrow to see all of it
this is joe: joe is protecc and this is frank (A-156 or RD-156): frank likes signatures for breakfast, HE EATS oh noes! your signature was eaten by frank! img]https://cdn2.scratch.mit.edu/get_image/project/881644940_100x80.png[/img copy this (add back the ['s) to have frank eat your signature!
(:>::#bb88f6) //jerry says hi
set [ v] to (:>::#bb88f6)//jerry block
:>::#bb88f6 hat
:>::#bb88f6
:>(:>::#bb88f6)::#bb88f6
:> [#aa77e5]::#bb88f6
:> (:>::#bb88f6 boolean){
:>::#bb88f6
:>::#bb88f6
:> ( :> v) (:>::#bb88a1 stack) @addInput ::#bb88f6
:> ::#bb88f6 cap
} :> (:>::#bb88f6) ::#bb88f6
:> [:> v] ::#bb88f6 cap
::#bb88f6 boolean
B̴̴̸͕͖͖͕̪͔̻͑͒̓͑͑̔̐̕͝E̵̵̴̠̺͔͎̫͖͖̝͑̽̓̀̓̚͘̚A̴̴̸͔̠̟͉͎̼͚̝̿͊̀̐͑͌̓͛͜͠N̵̸̵̦̻̺͇͉͍͓͚͕͊̐̒̒̾̀̐̿
- Discussion Forums
- » Suggestions
- » Collapsible nested Booleans