functional overview
The results are changed according to the conditions.
Details of Functions
Subject 1andSubject 2andtermsDetermine whether or not the
termsis true,trueReturns the value specified in
termsis false,FalseReturns the value specified in
- note
- If the process is constructed in the following steps, the result of IIf is false because the "result of the addition process" is 3. For this reason, the message will show 200.
procedure Comment logic name (programming language) Details of processing, etc. 1 addition process Calculation/Addition n + 1 2 IIf Control statement/IIf Result of "additive process" = 10.
100" for true.
200" if false.3 message indication Message/Toast display Results for "IIf."
parameter
- argument (e.g. function, program, programme)
-
Subject 1 numeric data character string data Date & Time Data
Specify the comparison target.terms Subject 1andSubject 2Specify the conditions under which the relationship between the two is true.
- = (after a noun, adjective stem, onomatopoeic-mimetic word, etc.)
- >=
- ≦
- >
- <
- ≠
Subject 2 numeric data character string data Date & Time Data
Specify the comparison target.true numeric data character string data Date & Time Data
termsis true.False numeric data character string data Date & Time Data
termsis false.
- return value
-
numeric data character string data Date & Time Data
termsis true, thentrueIf false, the value specified forFalseReturns the value specified in