- 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
推薦閱讀
- .NET 4.0面向對象編程漫談:基礎篇
- Vue.js快跑:構建觸手可及的高性能Web應用
- 華為HMS生態與應用開發實戰
- Apache Spark 2 for Beginners
- UI智能化與前端智能化:工程技術、實現方法與編程思想
- Getting Started with Python Data Analysis
- 從Java到Web程序設計教程
- RESTful Java Web Services(Second Edition)
- Orleans:構建高性能分布式Actor服務
- Mastering Concurrency Programming with Java 9(Second Edition)
- 零基礎學C語言(第4版)
- 超簡單:Photoshop+JavaScript+Python智能修圖與圖像自動化處理
- Mastering PowerCLI
- 絕密原型檔案:看看專業產品經理的原型是什么樣
- Socket.IO Cookbook