mirror of https://github.com/arendst/Tasmota.git
Updated Rules: IF ELSE ELSEIF and AND OR Support (markdown)
parent
b07747efe2
commit
72a219ad36
|
@ -33,7 +33,7 @@ Note: All the commands executed _**within an IF block**_ are performed via `Back
|
|||
IF statement supports 3 formats:
|
||||
- `IF (<condition>) <statement-list> ENDIF`
|
||||
- `IF (<condition>) <statement-list> ELSE <statement-list> ENDIF`
|
||||
- `IF (<condition>) <statement-list> [ELSEIF (<condition>) <statement-list> ]* ELSE <statement-list> ENDIF`
|
||||
- `IF (<condition>) <statement-list> [ELSEIF (<condition>) <statement-list> ] ELSE <statement-list> ENDIF`
|
||||
|
||||
`<condition>` is a logical expression, for example:
|
||||
- `VAR1 >= 10`
|
||||
|
|
Loading…
Reference in New Issue