I know scratch has turbo speed but that still gives a little pause between the loops and stuff, so is it possible to have something like an instant speed, where it does it instantly?
Offline
Sadly, I do not think you can have an instant speed. Wait are built into most blocks to prevent such fast execution.
Offline
But if, say, in JavaScript, you say "
var = 1;
while (var = 0)
{
document.write("hello, world! <br>")
}
it instantly crashes your browser (because it has too many "hello world"s)
(don't try running it unless you use IE)
Things should be instantaneous in Scratch!!!
Last edited by coolstuff (2008-09-22 22:11:03)
Offline
coolstuff wrote:
But if, say, in JavaScript, you say "
var = 1;
while (var = 0)
{
document.write("hello, world! <br>")
}
it instantly crashes your browser (because it has too many "hello world"s)
(don't try running it unless you use IE)
Things should be instantaneous in Scratch!!!
Perhaps the scratch program could prevent people from running infinite loops?
Offline
I think this user Undantake (or something like that) was talking about this. I think in control there should be a c-shaped "instant" block so that anything you put in there would happen instantly.
Offline