Go to the first, previous, next, last section, table of contents.


Reversed Equate Flow Control

The following two operators may occasionlly be needed. The \b operator can be simulated in other ways but is useful to have. Its function is to break one level back. Normally it is used within the body of a loop to break out of the loop on certain conditions (as an addition to the standard loop condition in while loops). The \e operator exits the entire equate expression all the way back to where it was initially called from within a text body or in a filter evaluation. Neither of these operators will alter the stack. For example, the fragment below searches all the records for a matching field and returns the record number of the record the field matched.

%%EQUATE FIND 1>>N(%NAME"Smith"=?\b:++N>>N;)<<N


Go to the first, previous, next, last section, table of contents.