- Lua Quick Start Guide
- Gabor Szauer
- 88字
- 2021-08-05 10:30:39
Functions
A function is essentially a named chunk of code. Unlike other chunks, the contents of a function are not automatically executed when the file is loaded. When a file is first loaded, functions are simply defined. Once a function has been defined, you can execute the function by calling it. Because a function is a named chunk, you can call a function as many times as you want. The same scope rules apply to functions as to do/end blocks.
Read more about functions online at https://www.lua.org/pil/5.html.
推薦閱讀
- Redis Applied Design Patterns
- ASP.NET Core 5.0開發(fā)入門與實(shí)戰(zhàn)
- Learning Chef
- Python從入門到精通(精粹版)
- Learning ASP.NET Core 2.0
- Amazon S3 Cookbook
- AutoCAD VBA參數(shù)化繪圖程序開發(fā)與實(shí)戰(zhàn)編碼
- ArcGIS By Example
- Building RESTful Python Web Services
- Access 2010數(shù)據(jù)庫(kù)應(yīng)用技術(shù)(第2版)
- 批調(diào)度與網(wǎng)絡(luò)問(wèn)題的組合算法
- Learning YARN
- 響應(yīng)式Web設(shè)計(jì):HTML5和CSS3實(shí)戰(zhàn)(第2版)
- 軟件項(xiàng)目管理實(shí)用教程
- Scala編程(第5版)