Difference between revisions of "Category:LSL Functions"

From Second Life Wiki
Jump to navigation Jump to search
(→‎Mutability: highlighting the absolute)
Line 6: Line 6:
== Mutability ==
== Mutability ==
All types in LSL are immutable (they can't be mutated by side effect), variables can only be changed by being overwritten. There is no way to indirectly modify a variables value; the only way is through direct interaction with a storing operator (=, +=, -=, *=, /=, %=, ++, --).
All types in LSL are immutable (they can't be mutated by side effect), variables can only be changed by being overwritten. There is no way to indirectly modify a variables value; the only way is through direct interaction with a storing operator (=, +=, -=, *=, /=, %=, ++, --).
*Build in functions will never modify the variables used as parameters.
*Build in functions will '''never''' modify the variables used as parameters.
*User functions that change the values of parameters inside the function scope will not have those changes applied to the variables that supplied those parameters.
*User functions that change the values of parameters inside the function scope will not have those changes applied to the variables that supplied those parameters.

Revision as of 19:37, 24 July 2008

This category contains built-in LSL functions.

Mutability

All types in LSL are immutable (they can't be mutated by side effect), variables can only be changed by being overwritten. There is no way to indirectly modify a variables value; the only way is through direct interaction with a storing operator (=, +=, -=, *=, /=, %=, ++, --).

  • Build in functions will never modify the variables used as parameters.
  • User functions that change the values of parameters inside the function scope will not have those changes applied to the variables that supplied those parameters.

Pages in category "LSL Functions"

The following 200 pages are in this category, out of 518 total.

(previous page) (next page)

G

(previous page) (next page)