Float

Float A float is an IEEE-754 32-bit floating point value ranging from ±1.401298464E-45 to ±3.402823466E+38. Examples: 9.9 10.0 100000.1 LSL floats can be specified in scientific notation, e.g. 1.123E-2 or 512E+3. Additionally, the letter f or F can be appended. This...

Integer

An integer is a signed, 32-bit value with valid range from -2147483648 to 2147483647 (that is 0x80000000 to 0x7FFFFFFF in hex). LSL does not have an unsigned integer type. Examples: 10 122 -59438 0x5465 An integer is a whole number (no decimals). If you want decimals,...

Key

The key type is a specialized string, a unique identifier that can be used to reference objects, inventory items and agents in Second Life. Sometimes also referred to as UUID (Universal Unique IDentifier), UID, or asset-ID, a key can be represented as a string of...

List

Instead of arrays, LSL uses lists. The list type is exactly what it sounds like: a heterogeneous list of the other data types. Lists are created via comma-separated values (CSV) of the other data types. enclosed by square brackets: “[” and “]”....

NaN

NaN stands for Not a Number. NaNs are used to represent the results of operations that are not real numbers or are too big to fit into a float and therefore cannot be adequately represented with a float. In SL, generating a NaN (by 1.0/0.0) will crash the script. //...