- 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.
推薦閱讀
- Mastering Visual Studio 2017
- FuelPHP Application Development Blueprints
- C#完全自學教程
- Machine Learning with R Cookbook(Second Edition)
- Magento 2 Development Cookbook
- Blender 3D Incredible Machines
- Raspberry Pi 2 Server Essentials
- 嚴密系統設計:方法、趨勢與挑戰
- Learning OpenCV 3 Computer Vision with Python(Second Edition)
- PHP+Ajax+jQuery網站開發項目式教程
- C++反匯編與逆向分析技術揭秘(第2版)
- BeagleBone Robotic Projects(Second Edition)
- 智能手機故障檢測與維修從入門到精通
- RocketMQ實戰與原理解析
- 創意UI Photoshop玩轉移動UI設計