Binary

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...

Assignment

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...

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....

Functions

Functions Defined A function can be thought of as a machine into which input is provided, and which returns output. By using functions, the same blocks of code can be used over and over again, simply by referencing them. LSL and OSSL come with hundreds of built-in...

For

The for loop is used to execute statements while a condition is true, and executes a line of code after each iteration/cycle/step. More commonly, it executes code a certain number of times, and operates a counter to facilitate it. Format: for (initialization; test;...