Use: | Returns a true or false value based on the condition passed to the function |
Syntax: | {IFELSE( «condition» , «true», «false»)}
|
Arguments: |
«condition»
Condition to determine if the function returns a true or false value
«true»
The true value
«false»
The false value
Note: You can use ASSIGN, CONFIRM, INPUTBOX, and PICKARRAY function parameters for the true/false values. To ensure that these values are correctly assigned, insert the SUBF$ function.
|
Returns: | The true or false value, which can be a string or numeric value |
Example 1: | {IFELSE( 5 > 3 , do this, do that)} Result: do this |
Example 2: | {IFELSE( 5 > 7 , do this, do that)} Result: do that |