Discuss Scratch

iTweak0r
Scratcher
100+ posts

ForeverIf

Bring back the Forever If block!

Specs 1 (main): Safari on MacBook Pro; Late 2008; Core 2 Duo @2.4GHz; 8GB 1067MHz DDR3 RAM; Mac OS X 10.10;

Specs 2: Firefox on Lenovo Yoga 13; Core i7 @2.0GHz; 8GB 1600MHz DDR3 RAM;
tri-boots Windows 10 Pro, Mac OS X 10.10, and Ubuntu 14.01 LTS;

All have the latest version of Flash.
TimothyLawyer
Scratcher
1000+ posts

ForeverIf

What do you need it for that you can't do now?
BoltBait
Scratcher
1000+ posts

ForeverIf

Just put an IF block inside a FOREVER block.

Problem solved.

Click to play:
botcrusher
Scratcher
500+ posts

ForeverIf

correction put in if/else block inside a forever block with BoltBait's method the condition will always execute with the if/else you can put a stop block

Pondering what to work on.
BoltBait
Scratcher
1000+ posts

ForeverIf

No need to correct my code. Ever.

Click to play:
iTweak0r
Scratcher
100+ posts

ForeverIf

What about old projects that use the block and I just think it's more efficient.

Specs 1 (main): Safari on MacBook Pro; Late 2008; Core 2 Duo @2.4GHz; 8GB 1067MHz DDR3 RAM; Mac OS X 10.10;

Specs 2: Firefox on Lenovo Yoga 13; Core i7 @2.0GHz; 8GB 1600MHz DDR3 RAM;
tri-boots Windows 10 Pro, Mac OS X 10.10, and Ubuntu 14.01 LTS;

All have the latest version of Flash.
veggieman001
Scratcher
1000+ posts

ForeverIf

Nothing is permanent.

Last edited by veggieman001 (July 17, 2013 00:52:26)


Mokat
Scratcher
100+ posts

ForeverIf

Why did they even get rid of it anyways

Lightnin
Scratcher
1000+ posts

ForeverIf

Mokat wrote:

Why did they even get rid of it anyways

We put it in there b/c we noticed people using “if” blocks with no forever, and getting confused about why they didn't seem to work (the if checks the condition once in the first instant, and then finishes execution). But after asking a lot of educators if this helped, we got mixed reviews, so we decided to take it out.
MentorsMystery
Scratcher
5 posts

ForeverIf

Oops, sorry for necroposting that was a mistake

Last edited by MentorsMystery (May 24, 2015 00:08:18)

theonlygusti
Scratcher
1000+ posts

ForeverIf

No Support.

They got rid of it because it was to ambiguous. Even I was a little confused by it. Does it mean while? Whenever <> becomes true? The first time <> becomes true, do this forever?

Seapats
Scratcher
70 posts

ForeverIf

Lightnin wrote:

Mokat wrote:

Why did they even get rid of it anyways

We put it in there b/c we noticed people using “if” blocks with no forever, and getting confused about why they didn't seem to work (the if checks the condition once in the first instant, and then finishes execution). But after asking a lot of educators if this helped, we got mixed reviews, so we decided to take it out.

yep, that sums it up. this has been asked many times (i even asked then i leaned it used to be on scratch) and yeah that's about it.

forever if <>

end

Sorry forever-if rest in peace.

Three things i dislike:
1. Lists
2. Signatures
4. Irony
5. When people say they only are going to say 3 things then say 4.

Powered by DjangoBB

Standard | Mobile