How do I compare two GuiXT variables or a variable and a value?

Use if command in the following way:

If V[VAR1=&[VAR2]]
//Do something here
endif

The above set of statements compares two GuiXT variable VAR1 and VAR2.
Similarly,

If V[VAR1=OR]
//Do something
endif

The above set of statements compares one GuiXT variable VAR1 and a value OR. It is also possible to use the operators "<" and ">". Note: If you use ">" or "<", variables are always considered to be a number. There is no string comparison with "<" or ">".