Difference between revisions of "Category:LSL Functions"

From Second Life Wiki
Jump to navigation Jump to search
m (Copy editing)
m
Line 6: Line 6:
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 variable's 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 variable's value; the only way is through direct interaction with a storing operator (=, +=, -=, *=, /=, %=, ++, --).   
*Built-in functions will '''never''' modify the variables used as parameters.
*Built-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. (That is, function parameters are passed by value, not by reference.)
*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. {{Footnote|That is, function parameters are effectively passed by value, not by reference. When pass by reference is used in LSO-LSL, the reference points to a duplicate.}}


== Functions ==
== Functions ==


{{LSL All Functions|name|key=*}}
{{LSL All Functions|name|key=*}}
== Footnotes ==
{{Footnotes}}

Revision as of 10:50, 13 December 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 variable's value; the only way is through direct interaction with a storing operator (=, +=, -=, *=, /=, %=, ++, --).

  • Built-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. [1]

Functions

Key Description
 NEW  The function was recently added.
 U  This function has been updated recently.
 X  This function requires an experience.
 I  The LSO function ID for the function is not known, or it may not have one.
 D  The function has been deprecated but still works.
It is best to avoid functions marked as deprecated.
 R  The function has not only been deprecated, it has been removed.
Do not use functions marked as removed.
 U  The function has not been implemented.
Do not use functions marked as not implemented.
 🧬  This is an experimental function currently being tested on the beta-grid.
 B  This function is marked as broken and may not work.
 G  The function requires god-mode.
Functions marked as such cannot be used.
 LX  This function requires a Linden Owned experience.
 RQ  This function has been requested by several users and has not been implemented.
Do not use functions marked as requested.

Footnotes

  1. ^ That is, function parameters are effectively passed by value, not by reference. When pass by reference is used in LSO-LSL, the reference points to a duplicate.

Pages in category "LSL Functions"

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

(previous page) (next page)

G

(previous page) (next page)