Chapter 4-6: ILF Keyword Reference
LABEL
The LABEL statement defines a position in an ILF routine that may be referenced by GOTO, GOSUB, OVERFLOW, or TIMEOUT statements.
LABEL ••••••••••••••••••••••••••••••
(1)
(1) Label |
The LABEL statement defines a position in an ILF routine that may be referenced by a GOTO, GOSUB, OVERFLOW, or TIMEOUT statement. Each label must be unique within the event point that contains it.
A process compile error occurs if multiple labels of the same name are defined within the same event point or in any ILF subroutines copied into that event point with the COPY statement.
COPY, GOSUB, GOTO, OVERFLOW, TIMEOUT
In the following example, “on account” payments are processed by invoice until no more payment amount is left to apply.
LABEL :GET NEXT APPLY TO
* any more to apply?
IF TAR WORK ON ACCOUNT AMOUNT EQ 0
T GOTO :END PROCESS ON ACCOUNT
* (process 'on account' payment)
GOTO :GET NEXT APPLY TO
*
LABEL :END PROCESS ON ACCOUNT
* (perform other processing)
APPX Application Design Manual (01/13/03)
© 2003 by APPX Software, Inc. All rights reserved