Difference between revisions of "Category:LSL Functions"

From Second Life Wiki
Jump to navigation Jump to search
 
(43 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{LSL Header}}
{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}


This category contains built-in LSL functions.  
This category contains built-in LSL functions.  
Todo:
#fill in 'spec' field when applicable.
#write 'examples' (see {{LSLGC|Needs Example}})
#write 'notes'
#write 'caveats'.


To coordinate your work, see [[LSL_Portal_To-do]]. Use [[Template:LSL_Function]] to for page entries and be sure to look at it to familiarize yourself with the features supported.
== 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. {{Footnote|Function parameters are effectively passed by value, not by reference. When pass by reference is used in LSO-LSL, the reference points to a copy of the value, not to the original.}}


When the task of initially creating the pages is finished, delete the to-do list at the top.
== Functions==


There is apparently a bug in the wiki that may mess up the alphabetic order. Make sure that the Function-category is defined first and that the func and sort parameters come as their own lines and preferrably as the first parameters. This way everything should be in order here.
{{LSL All Functions|name|key=*}}
 
==Footnotes==
{{Footnotes}}{{Anchor|PiC}}

Latest revision as of 01:24, 19 April 2016

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. ^ Function parameters are effectively passed by value, not by reference. When pass by reference is used in LSO-LSL, the reference points to a copy of the value, not to the original.

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)