官术网_书友最值得收藏!

Working with Lua

In Chapter 1, Introduction to Lua, you learned how to set up Lua and Visual Studio Code. At the end of the chapter, we created a simple Hello World application. In this chapter, you will learn the basics of Lua programming. Topics such as variables, function data types, and loops are all going to be covered. By the end of this chapter, you should be familiar enough with Lua as a language to put together some simple programs.

If this is your first time programming, the syntax of Lua can get overwhelming fast. Many resources can be found on the official Lua site at  https://www.lua.org/. For a quick example of Lua, check out  http://tylerneylon.com/a/learn-lua/.

By the end of this chapter, you will will have a solid understanding of the following:

  • Using variables
  • Data types
  • Working with functions
  • Operators
  • Code blocks
  • Variable scope
  • Code flow
主站蜘蛛池模板: 顺义区| 五家渠市| 娱乐| 宣武区| 团风县| 会昌县| 罗平县| 杨浦区| 兴文县| 河北省| 兴文县| 太保市| 台南县| 平利县| 喀喇| 广宗县| 兴国县| 福泉市| 博乐市| 时尚| 灯塔市| 晋江市| 祁门县| 乐平市| 七台河市| 枣强县| 共和县| 高要市| 墨江| 高尔夫| 金川县| 晋江市| 东乌珠穆沁旗| 永安市| 锦屏县| 龙岩市| 舟曲县| 郯城县| 容城县| 汾西县| 汶川县|