“脚本手册”的版本间的差异

来自人工智能助力教育知识百科
跳转至: 导航搜索
(以“test”替换内容)
1个标签替换
第1行: 第1行:
{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}
+
[[test]]
 
 
这个类别为内置的LSL函数。
 
 
 
== 函数参数变化 ==
 
LSL中的所有类型都是不会改变参数的值的,变量只能通过赋值来改变。要想改变变量的值唯一的方法是直接与存储操作符交互(=,+=,-=,*=,/=,%=,++,--)。
 
*内置函数永远'''不会'''修改用作参数的变量。
 
*在函数作用域中更改参数值的用户自定义函数不会修改这些参数对应的变量的值(按值传参)。
 
{{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.}}
 
 
 
== 函数==
 
 
 
{{LSL All Functions|name|key=*}}
 
 
 
==脚注==
 
{{Footnotes}}{{Anchor|PiC}}
 

2019年9月11日 (三) 10:58的版本