Menu

#1 Repeat with n = 1 to N step X

open
7
2001-09-22
2001-09-22
No

Would be really nice to have the step feature for
repeat....

[ ... ]
repeat with n = 1 to 12.73 step 0.01
-- do something
end repeat
[ ... ]

or even neater, and more powerful...

[ ... ]
repeat with each 3rd char of wanker
-- do something
end repeat
[ ... ]

or even COOLER

[ ... ]
repeat with every number in something
-- do something
end repeat
[ ... ]

Just some food for thought, the step feature is
important, negative numbers too. This can
become a very unique and powerful feature of the
language, and I hope you get around to
implementing it.

\t

Discussion


Log in to post a comment.