Chapter 4-2: True/False Status Indicators
Using OR After an IF Statement
The example below using an OR statement is very similar to the previous example using an AND, except that the OR verification checks to see if either of the two statements are true:
IF TAR CUSTOMER BALANCE GT 0
OR TAR WORK ON ACCOUNT AMOUNT NE 0
· When the IF statement executes, it automatically sets the level 1 true/false status indicator to either T or F, as appropriate.
· If the IF statement is true, setting level 1 to T, the OR statement is bypassed because the possibility that both statements are false has already been eliminated.
· If the IF statement is false, the OR statement executes. If the OR statement is false, the level 1 indicator is preserved (left unchanged as F). If the OR statement is true, the level 1 indicator is changed to T.
APPX Application Design Manual (01/13/03)
© 2003 by APPX Software, Inc. All rights reserved