Difference between revisions of "LOOP"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
 
Line 1: Line 1:
 
 
 
==Purpose==
 
==Purpose==
 
Force control to beginning of a looping command
 
Force control to beginning of a looping command
Line 31: Line 29:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Applications]]
 
[[Category:Applications]]
 
[[Category:Applications Commands]]
 
[[Category:Applications Commands]]

Latest revision as of 17:17, 11 November 2009

Purpose

Force control to beginning of a looping command


Syntax

LOOP


See Also

DO WHILE, EXIT, FOR


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 Server, Recital