Re: loop do .. until end loop is surely incorrect!

new topic     » goto parent     » topic index » view thread      » older message » newer message
bill said...
loop do  
  integer x = 3  
  until x = 3  
end loop  

According to the manual this is correct.

It does NOT compile. version 4.0.0 on linux (slackware 13.1).

Hello I might be missibg something here, but I don't believe you can declare an integer inside a loop.

Even in version 4.

That wound be the same as:

 for x=1 to 10 do 
  integer x---you can't do this here 
  x+=1 
  if x=3 then exit end if 
 end for 
<\eucode> 
 
Don Cole
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu