Discuss Scratch

BlockWare
Scratcher
100+ posts

Suggestion for the if <> then block (25+ support, 3 semi, 1 no)

Support, it is in every decent programming language besides Scratch.
Just make sure to end with “else”

Last edited by BlockWare (March 11, 2016 22:59:33)

pianogirl84
Scratcher
1000+ posts

Suggestion for the if <> then block (25+ support, 3 semi, 1 no)

Support! This would be a great block to have!
alexphan
Scratcher
1000+ posts

Suggestion for the if <> then block (25+ support, 3 semi, 1 no)

Support; this would save a LOT of lag.
massazza
New Scratcher
12 posts

Suggestion for the if <> then block (25+ support, 3 semi, 1 no)

I think: in many cases, a chain of if blocks is enough. The only difference between this and your block is that if-block chains may have multiple of the if blocks run. So, semi-support.
RoboticAnimations
Scratcher
51 posts

Suggestion for the if <> then block (25+ support, 3 semi, 1 no)

ooOOOOOOhh! I like this block!
helloandgoodbye9
Scratcher
1000+ posts

Suggestion for the if <> then block (25+ support, 3 semi, 1 no)

alexphan wrote:

Support; this would save a LOT of lag.
How would this fix lag?
Dont see the need, so no support.
Jonathan50
Scratcher
1000+ posts

Suggestion for the if <> then block (25+ support, 3 semi, 1 no)

Support! But maybe rather than needing to right-click it could be sort of variadic, like:
f1lip
Scratcher
1000+ posts

Suggestion for the if <> then block (25+ support, 3 semi, 1 no)

Support That idea could be a good way to code scorekeepers. For example without that you would have to do scripts like this. (Which don't work, trust me.) I am using the same example as the first post but without the suggestion it would be like this.

when green flag clicked
if <(score) = [10]> then
say [Not bad.] for (2) secs
end


when green flag clicked
if <(score) = [100 ]> then
say [Perfect score!] for (2) secs
end

And so on.

Last edited by f1lip (May 8, 2016 12:37:24)

alexphan
Scratcher
1000+ posts

Suggestion for the if <> then block (25+ support, 3 semi, 1 no)

helloandgoodbye9 wrote:

alexphan wrote:

Support; this would save a LOT of lag.
How would this fix lag?
Because this would cause lag:

if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else

You probably just have a beefy computer

Last edited by alexphan (May 8, 2016 12:44:38)

Alberknyis
Scratcher
1000+ posts

Suggestion for the if <> then block (25+ support, 3 semi, 1 no)

alexphan wrote:

helloandgoodbye9 wrote:

alexphan wrote:

Support; this would save a LOT of lag.
How would this fix lag?
Because this would cause lag:

[Insert really long if-else spammation here]

You probably just have a beefy computer

It would save a LOT of lag, but only if someone was crazy enough to ever need 27 nested if-else statements. All that's happening is a solution to a problem that doesn't really happen.
helloandgoodbye9
Scratcher
1000+ posts

Suggestion for the if <> then block (25+ support, 3 semi, 1 no)

alexphan wrote:

helloandgoodbye9 wrote:

alexphan wrote:

Support; this would save a LOT of lag.
How would this fix lag?
Because this would cause lag:

if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else

You probably just have a beefy computer
It would also take a lot of lag to use your solution.

Alberknyis wrote:

alexphan wrote:

helloandgoodbye9 wrote:

alexphan wrote:

Support; this would save a LOT of lag.
How would this fix lag?
Because this would cause lag:

[Insert really long if-else spammation here]

You probably just have a beefy computer

It would save a LOT of lag, but only if someone was crazy enough to ever need 27 nested if-else statements. All that's happening is a solution to a problem that doesn't really happen.
^^^

Jonathan50 wrote:

Support! But maybe rather than needing to right-click it could be sort of variadic, like:
I dont support OP, but I'll support this, as it doesn't require left-clicking.
f1lip
Scratcher
1000+ posts

Suggestion for the if <> then block (25+ support, 3 semi, 1 no)

helloandgoodbye9 wrote:

alexphan wrote:

helloandgoodbye9 wrote:

alexphan wrote:

Support; this would save a LOT of lag.
How would this fix lag?
Because this would cause lag:

if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else
if <> then

else

You probably just have a beefy computer
It would also take a lot of lag to use your solution.

Alberknyis wrote:

alexphan wrote:

helloandgoodbye9 wrote:

alexphan wrote:

Support; this would save a LOT of lag.
How would this fix lag?
Because this would cause lag:

[Insert really long if-else spammation here]

You probably just have a beefy computer

It would save a LOT of lag, but only if someone was crazy enough to ever need 27 nested if-else statements. All that's happening is a solution to a problem that doesn't really happen.
^^^

Jonathan50 wrote:

Support! But maybe rather than needing to right-click it could be sort of variadic, like:
I dont support OP, but I'll support this, as it doesn't require left-clicking.
The spam part is what i agree with so some support for a limit.
A-no-meep
Scratcher
100+ posts

Suggestion for the if <> then block (25+ support, 3 semi, 1 no)

Support!

Last edited by A-no-meep (May 9, 2016 16:50:45)

Greenduck54
Scratcher
500+ posts

Suggestion for the if <> then block (25+ support, 3 semi, 1 no)

Support
Paddle2See
Scratch Team
1000+ posts

Suggestion for the if <> then block (25+ support, 3 semi, 1 no)

It looks like this is a duplicate topic of this one over here so I'll close it to keep the conversation all in one place.

Please use the existing topic in the link above.

Powered by DjangoBB