Re: for puzzlement

new topic     » goto parent     » topic index » view thread      » older message » newer message
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. grin

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu