<if> Condition statement.  Compares variable with a static text (number) or other variable.


Command Tree:   Macro Flow Control    \  If-Else  \  If
.
Syntax:   <if>("Condition")
Condition
Condition in one of these forms:
V1==V2
V1!=V2
V1<=V2
V1<V2
V1>=V2
V1>V2
V1~=V2

V1 must be a variable, V2 can be either variable or static text (number).  The operators have this meaning:
== "is equal"
!= "is not equal"
"<" is smaller (only for numerical operands)
">" is bigger (only for numerical operands)
"~=" contains string (V1 is a substring of V2)

.
.
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>