当前位置:网站首页>Lua basic grammar
Lua basic grammar
2022-07-26 01:07:00 【weixin_ forty-three million seven hundred and fifty-four thousa】
lua Variables default to global variables , add to local Then it's a local variable
Variables that are not declared are nil
The symbol connecting strings is the connection of two dots
Type conversion , The length of the string is #+ Variable name

function

Array 

_G Table that is a global variable
~= Means not equal to

True and false if

loop




Ipairs continuity pairs No continuous , It can be iterated out completely

边栏推荐
- 【软件开发规范三】【软件版本命名规范】
- Android SQLite first groups and then sorts left concatenated queries
- Django数据库增删改查
- 【秒杀概念】大小端
- [RTOS training camp] learn C language from a higher perspective
- 【RTOS训练营】程序框架、预习、课后作业和晚课提问
- Small sample learning data set
- Matlab bitwise and or not
- The Chinese input (Pinyin input method) component created by lvgl official +100ask enables lvgl to support Chinese input!
- # 浏览器开发使用技巧
猜你喜欢

# 浏览器开发使用技巧

全国一半人跑长沙,长沙一半人跑哪?

Save unhappiness! My robot psychologist; KPI tracking of machine learning; Pytorch implementation of Yolo V7; Li Hang's new book "machine learning methods" open trial | showmeai Information Daily

如何才能修炼成一名不可替代的程序员?

【RTOS训练营】程序框架、预习、课后作业和晚课提问

What is the dynamic IP address? Why do you recommend dynamic IP proxy?

健身房一年关店8000家,逆势盈利的工作室是怎么开的?

How does the proxy IP server ensure its information security in the network

android sqlite先分组后排序左连查询

985高校副教授晒年薪,公积金顶普通人月薪,网友:不愧是在上海
随机推荐
Lua基础语法
[RTOS training camp] problems of evening students
【RTOS训练营】程序框架、预习、课后作业和晚课提问
力扣 25. K 个一组翻转链表
typing‘ has no attribute ‘_ SpecialForm‘
REST-assured接口测试框架详解
[RTOS training camp] about classes and Q & A
手游多开用模拟器多开游戏如何切换IP搬砖
【RTOS训练营】上节回顾、空闲任务、定时器任务、执行顺序、调度策略和晚课提问
Django database addition, deletion, modification and query
android sqlite先分组后排序左连查询
Nanjie's embarrassment
[laser principle and application-4]: internal structure and working principle of laser
Unity get the animation being played
Download exclusively | Alibaba cloud maxcompute questions and answers to unlock SaaS mode cloud data warehouse in this electronic manual!
Selenium assertion and JS actuator
What is the dynamic IP address? Why do you recommend dynamic IP proxy?
The application and principle of changing IP software are very wide. Four methods of dynamic IP replacement are used to protect network privacy
How can MySQL just duplicate data?
Cf1494f delete the edges (Euler circuit)