Difference between revisions of "Category:LSL Functions/th"

From Second Life Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Multi-lang}}
{{LSL Header/th|ml=*}}{{LSLC|Keywords/th}}{{LSLC|Flow Control/th}}{{LSLC|||/th}}
{{LSL Header/th}}


{{LSL Header|ml=th}}{{LSLC|Keywords}}{{LSLC|Flow Controlth}}{{LSLC|th}}
หมวดนี้เกี่ยวกับฟังก์ชั่นของ LSL
 
This category contains built-in LSL functions.


== Mutability ==
== Mutability ==

Latest revision as of 13:35, 19 April 2016

หมวดนี้เกี่ยวกับฟังก์ชั่นของ LSL

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]

ฟังก์ชั่น

Key Description
 NEW  ฟังก์ชั่นนี้ถูกบันทึกเมื่อเร็วๆนี้
 I  รหัสฟังก์ชั่น LSO เป็นฟังก์ชั่นที่ยังไม่รู้จัก หรือ ยังไม่มีอยู่.
 D  ฟังก์ชั่นนี้ถูกเลิกใช้แต่ยังคงทำงานได้อยู่ ทางที่ดีที่สุดควรจะหลีกเลี่ยงการนำไปใช้.
 R  ฟังก์ชั่นนี้เลิกใช้งานและถูกลบไปแล้ว ไม่สามารถใช้ฟังก์ชั่นได้.
 U  ฟังก์ชั่นนี้ยังใช้งานไม่ได้ ไม่สามารถใช้ฟังก์ชั่นได้.
 B  ฟังก์ชั่นนี้อาจไม่ทำงาน.
 G  ฟังก์ชั่นนี้ต้องการสิทธิระดับผู้สร้าง ไม่สามารถใช้งานได้.
 RQ  ฟังก์ชั่นนี้ถูกเรียกจากผู้ใช้จำนวนมากและยังไม่ดำเนินการ ไม่ควรใช้.

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/th"

This category contains only the following page.