Lua Programming Beginners: Learn Lua Programming Step by Step very easy
- Добавил: literator
- Дата: 26-12-2021, 19:20
- Комментариев: 0
![Lua Programming Beginners: Learn Lua Programming Step by Step very easy](/uploads/posts/2021-12/1640535683_2551_lua_programming_b_ginn_rs__l_arn_lua_programming.jpg)
Автор: Zizo Rizk
Издательство: Independently published
Год: 2021
Страниц: 280
Язык: английский
Формат: pdf, epub
Размер: 10.2 MB
Learn Lua Programming Step by Step for beginners.
Continuing the tradition, our first Lua program simply printed em “Hello World” : print (“Hello World”) If you are using a separate Lua interpreter, then all you need is you need to run your first program - this is to run the interpreter tator - usually called Lua or Lua 5.2 - with the name of the text file containing your program.
Every piece of code that Lua executes, such as a file or from- a smart string in interactive mode is called a chunk. A block is simply a sequence of commands (or statements). Lua does not need a separator between consecutive operators, but you can use semicolon if you like. I personally use I use a semicolon only to separate statements written in one line. Line splitting does not play any role in the syntax system Lua.
A block can consist of just one statement, as in the example "Hello World", or consist of a set of operators and definitions functions (which are actually just assignments, as we will see later), as in the factorial example. Block can be as great as you want. Since Lua is also used as language for describing data, blocks of several megabytes are not a rarity. The Lua interpreter does not have any problems with bot with large blocks.
Скачать Lua Programming Beginners: Learn Lua Programming Step by Step very easy
![](/templates/LitmyL/images/LitMyru.png)
[related-news] [/related-news]
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.