This article is about comments in scripting. For the discontinued website feature, see Comments.
A comment is a way of leaving a note in a script without breaking the script. Comments can be created two ways, and are always green.
Single line comments are just that, on a single line. They start with two dashed lines and continue until the end of their line. They can also be placed after regular code on the same line.
-- this comment is a single line print("Hello") -- comments can come after code as well!
Comments can also be on multiple lines, indicated with the use of double brackets.
--[[ this is part of a comment as is this witchcraft! ]]--
External links[]
Programming |
| ||||||
---|---|---|---|---|---|---|---|
Design | |||||||
Assets | |||||||
Tools | |||||||
Monetization | |||||||
Analytics | Developer Stats ยท Monthly active users (MAU) | ||||||
Advertising | |||||||
Resources |