- 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
推薦閱讀
- Web前端開發技術:HTML、CSS、JavaScript(第3版)
- Software Defined Networking with OpenFlow
- Java EE 6 企業級應用開發教程
- 零基礎學C++程序設計
- JavaScript+jQuery開發實戰
- Swift 3 New Features
- Building Mapping Applications with QGIS
- MATLAB實用教程
- Magento 1.8 Development Cookbook
- Mastering Xamarin.Forms(Second Edition)
- Android群英傳
- Maker基地嘉年華:玩轉樂動魔盒學Scratch
- Spring Boot 2+Thymeleaf企業應用實戰
- 3D Printing Designs:Design an SD Card Holder
- Node.js Web Development