Re: for puzzlement
- Posted by euphoric (admin) Jan 11, 2019
- 1256 views
ghaberek said...
euphoric said...
Somebody catch me up: Why would you pre-declare your loop variables?
In many languages, you have to declare the type of the for variable, and some may just require that be done before the for loop. Euphoria can infer the type from values given to the loop.
Ah, OK... So you would have to declare it if the language could not infer it.
I was so immersed in the OE paradigm that I couldn't see outside of it.