Expression

From Catglobe Wiki
Revision as of 09:46, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(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))