# Switch Case
Grammar — If (value)
Flags —SubFunctions
|Action
|Hidden
Switch Cases are only found inside of a Switch statement. If the Value parameter matches the value returned by the parent Switch statement the action set will be run, otherwise nothing will happen.
# Arguments
sameasparent
— Value
Returns — void
#IFSUBFUNC(notfirst,else )if (#AUTOVAR(val,parent) == #PARAM(value)) {
#SUBFUNCS(actions)
}
# Related
Category: General / Conditional Statements
- [F] —
void
— If Then Else — ( ) - [F] —
void
— If Then Else-If — ( ) - [F] —
void
— If Then — ( ) - [F] —
void
— Switch — ( ) - [F] —
void
— Switch Case — ( )
# Examples
— None found —