Re: loop do .. until end loop is surely incorrect!
- Posted by ArthurCrump Feb 27, 2011
- 1558 views
dcole said...
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>
A variable can be declared inside a loop. I have tried it and it works.
The appropriate section of the online manual is 4.2.3.2 or 15.3.2 in the PDF.
However, you cannot redefine the loop variable itself, as in your example.
Don Cole