Quote: "BTW: An array of "Gosubs" would be nice. Would be a game changer."
They are pretty much obsolete nowadays because it is way more efficient to use a function
and a function may be called as many times as you like, there are even such things as recursive
functions that call themselves over and over again until the final output results. Which
can make three lines of code replace 100 and it will also run faster
an example of a recursive function is the common factorial function
function fact(n as integer)
/* n=0 indicates a terminating condition */
if n <= 0
exitfunction (1)
else
exitfunction (n * fact(n - 1))
endif
endfunction 0
just try and replace that with gosubs if/then etc and just see how large and complex your code ends up
Quote: "
I think it would make a great programming challenge to create a factorial routine that doesn't use recursion"