Difference between revisions of "EXIT"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 26: | Line 26: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
− | [[Category: | + | [[Category:Libraries]] |
− | [[Category: | + | [[Category:User Defined Functions]] |
Revision as of 11:00, 4 February 2013
Contents
Purpose
Force exit from a DO WHILE loop
Syntax
EXIT
See Also
Description
The EXIT command causes control to drop out of a DO WHILE or FOR...NEXT loop.
Example
use patrons index events seek "BALLET" do while not eof() if event<>"BALLET" exit endif display name, event, seats, seats * price off skip enddo