Easier to explain via an example. In C++ they do this:
for ( int i = 0; i < limit; i++ )
What is neat is that i is local for that loop. Right now we need to declare i outside of the loop as they do in C and it is not local
The idea, 6 new commands:
Fori, Forj, Fork, fFori , fForj, fFork each used with an optional stepType (boolean false or true) as following:
optional stepType not used, steps in normal manner or as "false" was passed in.
Fori 1, 10, 2
In TB:
long i
for i = 1 to 10 step 2
fFori 0.1, 0.9, 5, true
in TB:
single i
for i = 0.1 to 0.9 step (0.9 - 0.1)/5
Bookmarks