# If Then Else
Grammar — If (Conditions) then do (Actions) else do (Actions)
Flags —SubFunctions
|Action
Executes an If Then Else statement. If the specified conditions are met, the action set set under Then will run. If the conditions are not met, the action set placed under Else will run.
Returns — void
if (#SUBFUNCS(if," && ")) {
#SUBFUNCS(then)
}
#IFHAVESUBFUNCS(else,else {
)
#SUBFUNCS(else)
#IFHAVESUBFUNCS(else,})
# Related
Category: General / Conditional Statements
- If Then Else — macro
- If Then Else-If — macro
- If Then — macro
- Switch — macro
- Switch Case — macro
# Examples
— None found —