More actions
jrfconvert import |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category: | |||
[[Category:Basic Elements]] | |||
| | ||
==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. | 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. |
Latest revision as of 09:17, 20 December 2011
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))