Difference between revisions of "User:Miranda Umino"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with ".")
 
m
Line 1: Line 1:
.
{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}
 
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. {{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.}}
 
== Functions ==
 
{{LSL All Functions|name|key=*}}
 
==Footnotes==
{{Footnotes}}{{Anchor|PiC}}

Revision as of 04:42, 11 June 2013

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.