IF..THEN..ELSEIF..ELSE..END IF KeywordsUsage:
IF expression THEN
statements
[ELSEIF expression2 THEN]
statements
[ELSE]
statements
END IF
Description:
Use the IF keyword to execute a block of statements only if a condition is true.
Optionally, you can also specify additional blocks that are executed only if the previous conditions are false and a new condition is true (ELSEIF), or that are executed only if all other blocks are false (ELSE).
Example:
|