You can do for (var/i in 1 to 50), this acts as if its iterating through a list with the numbers 1 thru 50 in it.
Wouldn't be super swell if you could use the n to n syntax to generate such lists?
At the moment, attempting to just results in the first number. The to and the other number are silently ignored, suggesting it at least parses this syntax.
ID:2306768
Oct 19 2017, 12:29 pm
|
|||||||
| |||||||
This limits exp between 1 and 200 when edited in the prototype editor, which is pretty neat.
Otherwise, x to y doesn't have many uses in the language currently. Would support it having more.