IF

THE BOX'S MAIN HELP:
The value of T_VAL or F_VAL is returned, depending on COND:
IF (COND) OUT = T_VAL 
ELSE      OUT = F_VAL

COND (input):
This must be a boolean.  It is the result of the test condition. 
The default is miFALSE.

T_VAL (input):
The value returned if COND is true.  It may be most any data type,  
but the TRUE and FALSE values must return the same data type.

F_VAL (input):
The value returned if COND is false.  It may be most any data type,
but the TRUE and FALSE values must return the same data type.

OUT (output):
Resulting value (either T_VAL or F_VAL) based on COND:
If COND is true,  OUT is T_VAL.
If COND is false, OUT is F_VAL.

<-- BACK TO Logic

© Copyright 1996,1998 Cinema Graphics Inc. All Rights reserved.