Scripting:Operators

From STNE Wiki

Revision as of 15:27, 10 September 2010 by Glest Durnham (Talk | contribs)
Jump to: navigation, search
Operator Usage Returns
String operators
& String1 & String2 the concatenatenation of String1 and String 2
Arithmetic operators
+ Number1 + Number2 Number1 added to Number2
- Number1 - Number2 Number2 subtracted from Number1
* Number1 * Number2 Number1 multiplied by Number2
/ Number1 / Number2 Number1 divided by Number2
Logical operators
NOT NOT Boolean1 the logical inverse of the expression Boolean1
AND Boolean1 AND Boolean2 the logical AND of Boolean1 and Boolean2
OR Boolean1 OR Boolean2 the logical OR of Boolean1 and Boolean2
Personal tools