Appendix
Labels/Logical Statement References
ProvideX supports the use of logical statement references (labels) in lieu of line number references in your applications. ProvideX supplies a set of built-in labels
(keywords, with the leading asterisk) that can be used wherever you would use a statement reference (line number or line label). Note that some of the logical statement labels and the directives they emulate will remove an item from your stack and perform a RESET.
 
The built-in ProvideX labels/logical statement references are listed below:
 
*BREAK Emulates BREAK Immediate Exit of Loop.
 
*CONTINUE Emulates CONTINUE Initiates Next Iteration of Loop.
 
*END Emulates END Halt Execution of Program.
 
*ESCAPE Emulates ESCAPE Interrupt Program Execution.
 
*NEXT Goes to the beginning of the next line/statement
*PROCEED Continues to the next statement in a compound statement or to the beginning of the next line
 
*RETRY Emulates RETRY Re-Execute Failing Instruction.
 
*RETURN Emulates RETURN Return From a Subroutine.
 
*SAME Goes to the start of current line/statement.


*Note* Prior to Version 4.20, the *CONTINUE and *BREAK labels and the corresponding directives are 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 BREAK Directive
CONTINUE Directive
END Directive
ESCAPE Directive
RETRY Directive
RETURN Directive