- 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
推薦閱讀
- Python 3.7網(wǎng)絡(luò)爬蟲快速入門
- INSTANT OpenCV Starter
- SoapUI Cookbook
- Manga Studio Ex 5 Cookbook
- C語言程序設(shè)計基礎(chǔ)與實驗指導(dǎo)
- AngularJS深度剖析與最佳實踐
- Cassandra Design Patterns(Second Edition)
- Python程序設(shè)計
- Instant Lucene.NET
- Python機器學(xué)習(xí):預(yù)測分析核心算法
- ServiceNow:Building Powerful Workflows
- .NET 4.5 Parallel Extensions Cookbook
- INSTANT EaselJS Starter
- Improving your Penetration Testing Skills
- Mastering Vim