Difference between revisions of "Category:LSL Functions"

From Second Life Wiki
Jump to navigation Jump to search
(todo)
 
(50 intermediate revisions by 15 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. ''(It should probably be split up into sub-categories.)''
This category contains built-in LSL functions.  


Todo:
== Mutability ==
# Rename all pages from LSL_llFunction to llFunction.
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 (=, +=, -=, *=, /=, %=, ++, --).
# Change all pages to use func_desc instead of func_footnote for their description.
*Built-in functions will '''never''' modify the variables used as parameters.
#:The footnote field is for additional notes about the function and should not exceed a few sentences. More complicated description of the functions inner workings are to be written in the 'spec' field.
*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.}}
#change the template from LSLFunctionAll to LSL_Function, remove the Category:LSL Function link, this is in the template now. Be sure to set the 'sort' attribute (if we had StringFunctions wouldn't need the 'sort' attribute).
#fill in 'spec' field when applicable.
#write examples
#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.
== Functions==


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


When the task of initially creating the pages is finished, delete the to-do list at the top.
==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)