Difference between revisions of "LOOP"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
==Class== | ==Class== | ||
Applications | Applications | ||
Line 26: | Line 23: | ||
use patrons index events, names | use patrons index events, names | ||
do while not eof() | do while not eof() | ||
− | + | if deleted() | |
− | + | loop | |
− | + | endif | |
− | + | display event, name, seats, seats * price | |
− | + | skip | |
enddo | enddo | ||
</code> | </code> | ||
Line 39: | Line 36: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
+ | [[Category:Applications]] | ||
+ | [[Category:Applications Commands]] |
Revision as of 14:01, 4 June 2009
Class
Applications
Purpose
Force control to beginning of a looping command
Syntax
LOOP
See Also
Description
The LOOP command forces program control to the top of the closest DO WHILE or FOR...NEXT loop.
Example
use patrons index events, names do while not eof() if deleted() loop endif display event, name, seats, seats * price skip enddo
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer