Expression

From Catglobe Wiki
Jump to: navigation, search



Expression

In QSL, an expression is used in condition and follow an IF keyword. Since QSL is not a programming language like C++ or Java, so that we don't have any restrict in content of expression.

Syntax : ( <Expression content> )

*Expression can contain '(' or ')' internal. This also means we can form complicated expression

*Expression content must present in the same line

*Expression is available from version 5.8

Example :

( true )

( (anotherQuestion < 5) && (anotherQuestion > 2))