Difference between revisions of "Expression"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
Line 1: Line 1:
[[Category:HelpBooks]]
+
 
 +
[[Category:Basic Elements]]
 

 

  
======Expression======
+
==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 10: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))