Re: while do & end while
- Posted by timelord at zebra.net Jan 19, 2002
- 407 views
>><<snip>> > >while 1 do > --/ when condition1 is True, it will exit the loop > --/ and finish anything else in the procedure. >if condition1 then exit end if > --/ when conditionN is True, it will exit the procedure! >if conditionN then return end if >end while > I have another question? if you want condition1 to exit when False or 0, just add NOT after the condition??? atom condition1 while 1 do condition1 = rand(10) if condition1 NOT then exit end if end while