Operators > Programming Operators > Using Conditional Statements
Using Conditional Statements
You can use the conditional operators for defining functions.
Evaluate the conditional statement at a point as follows:
elseif
alsoif
Click to copy this expression
Click to copy this expression Click to copy this expression
Click to copy this expression Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression Click to copy this expression
Click to copy this expression Click to copy this expression
Click to copy this expression
When you use elseif, the program stops evaluating statements when it reaches the first true statement. When you use alsoif, the program evaluates all alsoif statements. If any of them are true, the program does not evaluate any of the following else statements.
Watch this video to learn more about using conditional statements:
Was this helpful?