Making an extension for every JavaScript exclusive feature I can think of!

I was thinking about this extension over the weekend, Woof Woof. What about an additional block in the Loops drawer for a more generic for() loop? Something perhaps inspired from BASIC’s syntax:

for (index) from (min) to (max) step (delta) do

The full-blown, C-style for() loop might be too … generic … to implement elegantly in Blocks. I feel like you’d have to pass in a function handle for each of the three statement blocks in the loop header … and if you’re already doing that, then you might as well just use a while() loop. I could be wrong, though.

Just a couple of ideas to ponder. I’m a big fan of this extension!

3 Likes