<if> Condition statement. Compares variable with a static text (number) or other variable.
Command Tree: | Macro Flow Control \ If-Else \ If | ||||
. | |||||
Syntax: | <if>("Condition")
|
||||
. | |||||
. | |||||
Example: | <#> This example shows
how to use "if" command. <#> <commands_only_on> <varset>("vNum=","Insert number smaller than 10:") <if>("vNum>=5") <msg>(100,100,"The number is bigger or equal to 5.","Message",1) <else> <msg>(100,100,"The number is smaller than 5.","Message",1) <endif> |