814
Labels/Logical Statement References
ProvideX supports the use of logical statement references (line labels) in lieu of
actual line number/label references in your applications. ProvideX supplies a set of
built-in labels (keywords, with leading asterisks) that can be used wherever you
would use a statement reference. Note that some of the logical line labels and the
directives they emulate will remove an item from your stack and perform a RESET.
The following logical statement references are supported in ProvideX:
Emulates BREAK Immediate Exit of Loop, p.33.
*BREAK
Emulates CONTINUE Initiates Next Iteration of Loop, p.56.
*CONTINUE
Emulates END Halt Program Execution, p.112.
*END
Emulates ESCAPE Interrupt Program Execution, p.121.
*ESCAPE
Goes to the beginning of the next line/statement.
*NEXT
Continues to the next statement in a compound statement or to the
*PROCEED
beginning of the next line.
Emulates RETRY Re-Execute Failing Instruction, p.288.
*RETRY
Emulates RETURN Subroutine/Function Return, p.289.
*RETURN
Goes to the start of current line/statement.
*SAME
Note: In earlier versions of ProvideX, the *CONTINUE and *BREAK labels and the
corresponding directives were not supported for use with SELECT / NEXT RECORD
directives. BREAK and *BREAK commands can now be used in SELECT structures.
Examples
A=0, Y$=""
READ (1,IND=A++,ERR=*NEXT)X$; Y$+=X$; GOTO *SAME
See Also