Chapter 4-1: ILF Integration
The Statements Included in the ILF
Each ILF statement is identified by a unique keyword (such as IF, READ, and SET) that indicates to the system what actions to perform. The ILF statements can be grouped into seven functional categories as follows:
Field-related statements modify and compute values for fields within an application.
Date/time statements calculate and compare dates and elapsed time periods.
Control statements allow you to exercise control over the processing flow in an ILF routine, and to invoke non-APPX programs.
Condition-testing statements include IF, AND, and OR statements that perform logic tests.
Image-related statements allow you to override the 'visual' aspects of a screen or report, such as whether an item should be highlighted or allow user input.
File-related statements control file management operations, such as creation, deletion, and updates.
Text-related statements allow you to provide free-form text messages to users or to insert comments within a routine.
Table 4-1-1 below contains a list of the keywords in their respective categories. Each of these statements is described in detail in ILF Keyword Reference.
| Field | Date/Time | Control | Condition | Image | File | Text |
|---|---|---|---|---|---|---|
| APPEND | DATE ADD | BEG LOOP | AND | AT FIELD | BEG AT | * (Comment) |
| CALC | DATE BTW | CALL | IF | BLANK | BEG READ | ** (Comment) |
| CNV BIN | SET DATE | COPY | OR | BLINK | CLOSE | CANCEL |
| CNV PORT | SET DAY | END | BOLD | COMMIT | ERROR | |
| CNV TEXT | SET MNTH | END LOOP | BRIGHT | CREATE | MESSAGE | |
| COMPUTE | END PROC | COLOR | DELETE | WARNING | ||
| IF DIFF | EXIT | DIM | END AT | |||
| LOCAL | GOSUB | DISABLE | END READ | |||
| PASS | GOTO | DISPLAY | IF EXIST | |||
| RECEIVE | INPUT | ENABLE | MARK TRX [reference unavailable in the source] | |||
| RESTORE | INQUIRY | FONT | OPEN | |||
| SCAN | JOB | INVERSE | READ | |||
| SET | LABEL | NO BOLD | READNEXT | |||
| SET TEMP | LOGOUT | NO INPUT | RELEASE [reference unavailable in the source] | |||
| SET TOT | MENU | NO ULINE | REWRITE | |||
| STATIC [reference unavailable in the source] | OUTPUT | NORMAL | ROLLBACK | |||
| STORE | OVERFLOW | OK INPUT | SAVEPNT | |||
| TOTAL | QUERY | PICTURE | SCRATCH | |||
| VERIFY | RETURN | POSITION | WRITE | |||
| RUN | REFRESH | |||||
| STATUS | ULINE | |||||
| SUBR | ||||||
| TIMEOUT | ||||||
| TRAP | ||||||
| UPDATE | ||||||
| USE CC |