- Corona SDK Mobile Game Development:Beginner's Guide(Second Edition)
- Michelle M. Fernandez
- 102字
- 2021-07-23 19:37:18
Assignment conventions
There are rules for variable names. A variable starts with a letter or an underscore. It can't contain anything other than letters, underscores, or digits. It also can't be one of the following reserved words of Lua:
and
break
do
else
elseif
end
false
for
function
if
in
local
nil
not
or
repeat
return
then
true
until
while
The following are valid variables:
- x
- X
- ABC
- _abc
- test_01
- myGroup
The following are invalid variables:
- function
- my-variable
- 123
推薦閱讀
- 華為HMS生態(tài)與應用開發(fā)實戰(zhàn)
- VMware vSphere 6.7虛擬化架構實戰(zhàn)指南
- C語言程序設計
- 深入淺出PostgreSQL
- INSTANT Passbook App Development for iOS How-to
- Learning YARN
- 細說Python編程:從入門到科學計算
- Photoshop智能手機APP界面設計
- Java EE項目應用開發(fā)
- 深入淺出 HTTPS:從原理到實戰(zhàn)
- UI動效設計從入門到精通
- 啊哈C語言!:邏輯的挑戰(zhàn)(修訂版)
- Mathematica Data Visualization
- C語言從入門到精通(第4版)
- PostGIS Cookbook