foo(arg) { arg:=2 print(arg) } a:=1 foo(a) ;输出2 print(a) ;输出1 print(_str="") { if IsObject(_str) { out:="[" for index,element in _str out.=element . "," out.="]" MsgBox %out% } else MsgBox %_str% } bar(args) { args.Insert(1) } b:=[] print(b) ;输出[] print(&b) ;输出14234032 bar(b) print(b) ;输出[1] print(&b) ;输出14234032