⇐ Index
#
The # symbol will turn everything behind it on that line into a comment. Comments are not code, they do nothing.
Comments can be used to temporarily disable lines of code, improve the legibility of code and assists in explaining complex pieces of code.
A single line of code is automatically added when generating a new script, it displays the original name of the script and the current date and time.
# --CoolScript-- 1/2/2021 5:42:27 PM # This comment doesn't say very much: 5 6 add ->value # if this is not 11, I'm a walrus # A temporarily disabled line of code: #SetUnitDebugText(self <-value) # test to make sure value is as expected
⇐ Index