- Lua Quick Start Guide
- Gabor Szauer
- 72字
- 2021-08-05 10:30:41
Control structures
Control structures are used to make decisions in code; they control the path of code based on a Boolean value. Lua provides the if statement for this purpose. An if statement is followed by a Boolean condition, which in turn is followed by a then/end chunk. The chunk is only executed when the Boolean condition evaluates to true.
The most basic syntax of an if statement is as follows:

推薦閱讀
- C#程序設計實訓指導書
- Building a RESTful Web Service with Spring
- C++面向對象程序設計(微課版)
- SEO智慧
- UI智能化與前端智能化:工程技術、實現方法與編程思想
- SQL Server從入門到精通(第3版)
- Procedural Content Generation for C++ Game Development
- Geospatial Development By Example with Python
- Webpack實戰:入門、進階與調優(第2版)
- Programming Microsoft Dynamics? NAV 2015
- Modernizing Legacy Applications in PHP
- 從零開始學Selenium自動化測試:基于Python:視頻教學版
- Joomla!Search Engine Optimization
- 從零開始學Unity游戲開發:場景+角色+腳本+交互+體驗+效果+發布
- Design Patterns and Best Practices in Java