User | Kudos |
---|---|
13 | |
11 | |
3 | |
3 | |
2 |
When autoindexing on a WHILE loop input tunnel, we get the default value for the datatype after we run out of elements on the autoindexing array. I can think of several scenarios where it would be useful to simply start over with the input array.
I propose a new input tunnel type (looping) which would do exactly that: index the elements to the end of the array, then start over from the beginning, ad infinitum (or until the loop stops).
(The same would of course also be useful for FOR loops. Here it would not be used to determine the loop count, because it never runs out of elements.)
Here's how it could look like in the code. (On the right, I show explicit functional equivalents).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.