2023年3月4日

Lua学习--4

摘要: 结构控制 2.4.4 – Control Structures The control structures if, while, and repeat have the usual meaning and familiar syntax: stat ::= while exp do block e 阅读全文

posted @ 2023-03-04 22:43 hztech 阅读(12) 评论(0) 推荐(0) 编辑

Lua学习--3

摘要: 变量 Variables are places that store values. There are three kinds of variables in Lua: global variables, local variables, and table fields. A single na 阅读全文

posted @ 2023-03-04 22:20 hztech 阅读(12) 评论(0) 推荐(0) 编辑

Lua 学习---2

摘要: 值和类型 Lua is a dynamically typed language. This means that variables do not have types; only values do. There are no type definitions in the language. 阅读全文

posted @ 2023-03-04 17:57 hztech 阅读(9) 评论(0) 推荐(0) 编辑

学习Lua--1

摘要: 1、标识符 Names (also called identifiers) in Lua can be any string of letters, digits, and underscores, not beginning with a digit. Identifiers are used t 阅读全文

posted @ 2023-03-04 15:49 hztech 阅读(24) 评论(0) 推荐(0) 编辑

导航