- Lua Quick Start Guide
- Gabor Szauer
- 54字
- 2021-08-05 10:30:36
Comments
In Lua, any time you see --, the rest of that line is considered a comment. Comments are there to help you read and understand code, but they are never executed. This example demonstrates how comments are used:
foo = "bar"
-- print (foo)
-- The above statement never prints
-- because it is commented out.
推薦閱讀
- Mastering RabbitMQ
- Learning Flask Framework
- Magento 2 Development Cookbook
- Python程序設(shè)計(jì)
- 高級語言程序設(shè)計(jì)(C語言版):基于計(jì)算思維能力培養(yǎng)
- 程序是怎樣跑起來的(第3版)
- Expert Data Visualization
- Python3.5從零開始學(xué)
- Android傳感器開發(fā)與智能設(shè)備案例實(shí)戰(zhàn)
- Clojure for Java Developers
- Unity 5.X從入門到精通
- JBoss AS 7 Development
- 絕密原型檔案:看看專業(yè)產(chǎn)品經(jīng)理的原型是什么樣
- Learn C Programming
- 深度學(xué)習(xí)的數(shù)學(xué):使用Python語言