| Qualifiers |
 | /Fail=LABEL | Label to which to branch if the statement fails. If LABEL is %EXIT, exit the routine or loop. If in a loop, and LABEL is %CONTINUE, continue the loop. If not in a loop, and LABEL is %CONTINUE, an error message displays. | | |
| | /Succeed=LABEL | Label to which to branch if the statement succeeds. If LABEL is %EXIT, exit the routine or loop. If in a loop, and LABEL is %CONTINUE, continue the loop. If not in a loop, and LABEL is %CONTINUE, an error message displays. | | |
| | /Nofail | Do not signal an error. Instead, set the internal variable %FAIL. | | |
| Example |
| | Openlink EMPLOYEES(LINK) & |
| | for HOURS as HOURSLINK /Write |
| | ! Open the Link file with |
| | ! write access. |
| | Gosub PROCESSING |
| | Getlink lrec using HOURSLINK |
| | Perform DISPLAY |
| | ! Get the link specified |
| | ! and display the HOURS record |
| | Menu ACTION |
| | ! Ask what to do with it |
| | If %ITEM = "DELETE" then |
| | Delink using HOURSLINK |
| | ! "Unlink" it if required. |
| | End_if |
| | If %ITEM = "DUPLICATE" then |
| | Link using HOURSLINK |
| | ! Link it again if required |
| | ! (one HOURS record, two links) |
| | End_if |