A B N O U

Operators

In mathematics, an operator is a symbol that expresses the operation to be performed. In LSL, operators perform simple “common-sense” operations on values. The assignment operators are special in that the left hand side of the operation must be a variable....

OR

OR places a 1 in the bitfield if either bitfields passed to it have a 1 in that position. If neither has a 1, it places a 0 in that position. Truth Table: OR 1 0 1 1 1 0 1 0 Usage: // A bitfield whose binary representation is: 00000000000000000000000000001010 integer...

Unary

Unary operators take one argument. In LSL these arguments are normally integers. Operator Type Meaning Return Value Effect variable++ Arithmetic post-increment variable variable is set to variable + 1 ++variable Arithmetic pre-increment variable + 1 variable is set to...