by Brayla Sana | Jan 16, 2017 | Bitwise, LSL, Operators, OSSL, Wiki

The AND operation compares each bit in two integers; if both bits are set to “1”, then the final result will be “1”, otherwise it will be “0”. This is done “per-bit”, or “bitwise”. Truth Table: AND 1 0 1 1 0...
by Brayla Sana | Jan 16, 2017 | Assignment, LSL, Operators, OSSL, Wiki

The most common arithmetic operation is assignment, denoted with the “=” sign (single equal sign). Loosely translated, it means, take what is found on the right side of the equal sign and assign it to the left side. Any expression that evaluates to a basic...
by Brayla Sana | Jan 16, 2017 | Binary, LSL, Operators, OSSL, Wiki

Binary operators accept two parameters and return a single value. Most binary operators are defined for many different types of input like list, float, vector. Binary Operators: Operator Type Meaning Return Value Effect + Arithmetic Addition Sum of inputs None...
by Brayla Sana | Jan 16, 2017 | Bitwise, Operators

Bitwise operators are used to manipulate integers that represent bitfields. Click on an operator below to scroll directly to the position of its description. Operator Name Usage Reference & AND integer & integer = integer | OR integer | integer = integer ~...
by Brayla Sana | Jan 22, 2017 | Boolean, LSL, Operators, OSSL, Wiki

Boolean operators behave like other operators such as +, -, *, / etc except the inputs and output can only take on two values. These values can be represented as TRUE and FALSE or 1 and 0 although any non zero value will generally be treated as TRUE. Unlike most...