Difference between revisions of "Operators and Literals"
From Keyfax Wiki
(Created page with "{| class="wikitable" !Operators !Character !Comments |- |Plus |+ | Can be numeric addition or text concatenation: Number('1') + Number('1) = 2 '1' + '1' = 11 |- |Minus |<nowi...") |
|||
| Line 5: | Line 5: | ||
|- | |- | ||
|Plus | |Plus | ||
| − | |+ | + | |<nowiki>+</nowiki> |
| Can be numeric addition or text concatenation: Number('1') + Number('1) = 2 | | Can be numeric addition or text concatenation: Number('1') + Number('1) = 2 | ||
'1' + '1' = 11 | '1' + '1' = 11 | ||
Revision as of 10:16, 28 February 2018
| Operators | Character | Comments |
|---|---|---|
| Plus | + | Can be numeric addition or text concatenation: Number('1') + Number('1) = 2
'1' + '1' = 11 |
| Minus | - | |
| Multiply | * | |
| Divide | / | |
| Percent | % | |
| Parenthesis | () | |
| Comma | , | |
| Not equal | <> | |
| Equals | = | |
| Greater than | > | |
| Less than | < | |
| Greater than or equal to | >= | |
| Less than or equal to | <= | |
| Logical and* | AND | |
| Logical or* | OR | |
| Logical not* | NOT | |
| Text concatenate | & |
| Literal Values | |||||
|---|---|---|---|---|---|
| Boolean* | TRUE, FALSE | ||||
| Numbers | 0-9 +/-/. | ||||
| Text | 'text' or "text" | ||||
*Case insensitive