Re: New switch/case idea

new topic     » goto parent     » topic index » view thread      » older message » newer message
kinz said...

Yes, 3-rd "do" is good in loop, but without loop. Then we'll have clear series of cyclic constructs:

-------- 
for i=1 to N by 2 do 
  ..... 
end for 
-------- 
while a do 
  ..... 
end while 
-------- 
do 
  ..... 
until b 
end do 
-------- 

In such a series of constructs, "do" is not superfluous, it stands rocky.

I think now, that we can change 'until' to 'while' and delete 'until' from new keywords list at all - "delete double" principle. Anti-Crisis action. smile

-------- 
do 
  ..... 
while c 
end do 
-------- 

Regards,
Igor Kachan
kinz@peterlink.ru

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

Search



Quick Links

User menu

Not signed in.

Misc Menu