Re: do-while style

new topic     » goto parent     » topic index » view thread      » older message » newer message
LonnyNettnay said...
while 1 do -- do 
    body of loop 
    if <test condition> then exit -- while 
end while 

Argh! (Is that the correct spelling? :P) Screwed that up! Should be:

    if not <test condition> then exit -- while <test condition> is true continue the loop 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu