Re: Why 'for', not 'from' ?

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

On 2 Jun 2003 at 20:06, Igor Kachan wrote:

> 
> 
> Dear EU users:
> 
> There is well known "for loop" in most of
> programming languages.
> 
> But why it is "for", not "from" ?
> 
> Say, the below construction seems to be much 
> more clear than standard one :
> 
> from i=1 to 100 do
> ----
> end from
> 
> 
> for i=1 to 100 do
> ----
> end for
> 
> Or, maybe, that programmer was not the 
> English programmer, but a great Mumbo-Jumbo one ?
> 
> Or, maybe, my Muller's dictionary is not so good
> about the main words ?
> 
> Regards,
> Igor Kachan
> kinz at peterlink.ru

for
i = x to y
do

from
i = x to y
do

(for) looks better to me cause ( i ) is where we obtain the variable in the
range
of x to y

Euman

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

Search



Quick Links

User menu

Not signed in.

Misc Menu