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

  • 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.
主站蜘蛛池模板: 林周县| 岳普湖县| 鹤山市| 略阳县| 湘阴县| 西华县| 沂水县| 霍林郭勒市| 鹿泉市| 田阳县| 甘谷县| 讷河市| 阆中市| 金湖县| 沾益县| 泗洪县| 老河口市| 呼伦贝尔市| 叙永县| 永年县| 弋阳县| 绥江县| 绍兴县| 宜阳县| 永福县| 惠水县| 石嘴山市| 马公市| 黑山县| 丹东市| 高尔夫| 格尔木市| 长葛市| 如皋市| 交城县| 宝坻区| 施甸县| 建瓯市| 永清县| 弥勒县| 巴林左旗|