Use if-then-else structures

Use the
if-then-else
structure to allow an expression to make a decision. The format of the structure is:
If
statement
Then
value1
Else
value2
If the
statement
is true, the expression returns
value1
. If the
statement
is false, the expression returns
value2
.
The
else
portion of the statement is required.
You can create even more complex expressions by nesting if-then-else statements.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal