Expression

From Catglobe Wiki
Revision as of 10:17, 20 December 2011 by Cg pham (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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))