2023年3月5日

Luau学习--8 Function call 函数

摘要: 2.5.8 – Function Calls A function call in Lua has the following syntax: functioncall ::= prefixexp args In a function call, first prefixexp and args a 阅读全文

posted @ 2023-03-05 15:43 hztech 阅读(74) 评论(0) 推荐(0) 编辑

Lua--学习--7 Table 构建

摘要: 2.5.7 – Table Constructors Table constructors are expressions that create tables. Every time a constructor is evaluated, a new table is created. A con 阅读全文

posted @ 2023-03-05 13:31 hztech 阅读(14) 评论(0) 推荐(0) 编辑

Lua 学习--6 运算

摘要: 2.5.1 – Arithmetic Operators Lua supports the usual arithmetic operators: the binary + (addition), - (subtraction), * (multiplication), / (division),  阅读全文

posted @ 2023-03-05 11:31 hztech 阅读(6) 评论(0) 推荐(0) 编辑

Lua学习--5 表达式

摘要: 2.5 – Expressions The basic expressions in Lua are the following: exp ::= prefixexp exp ::= nil | false | true exp ::= Number exp ::= String exp ::= f 阅读全文

posted @ 2023-03-05 11:00 hztech 阅读(14) 评论(0) 推荐(0) 编辑

导航