by Brayla Sana | Jan 23, 2017 | LSL, OSSL, Types, Wiki
Serialization is the process of saving an object onto a storage medium (such as a file, or a memory buffer) or to transmit it across a network connection link such as a socket either as a series of bytes or in some human-readable format such as XML. The series of...
by Brayla Sana | Jun 16, 2017 | LSL, OSSL, Types, Wiki
A string is a sequence of characters limited in length only by available memory. Strings are enclosed in quotation marks (“). LSL uses UTF-8 for its encoding standard for strings. Example: string foo = “bar”; // this defines a string named...
by Brayla Sana | Jan 23, 2017 | LSL, OSSL, Types, Wiki
Variables, function parameters, and return values have types. This means that a value stored in a variable, bound to a function parameter, or returned by a function must be of the same type, or it must be converted to the same type. LSL provides a set of seven basic...
by Brayla Sana | Jun 16, 2017 | LSL, OSSL, Types, Wiki
A variable is an identifier or name of a place to store information in a script. The process of creating a variable is called “variable declaration”, “declaring a variable” or “defining a variable”. A variable always has a type...
by Brayla Sana | Jan 23, 2017 | LSL, OSSL, Types, Wiki
A vector is 3 float values used together as a single item–usually representing a direction or magnitude. In LSL and OSSL, vector literals are formatted as <x,y,z>. A vector can be used to represent a 3-dimensional position, direction, velocity, force,...