Comments

From MiniScript Wiki
Revision as of 03:53, 10 February 2020 by JoeStrout (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A comment in programming jargon is a bit of free text for readers of the code, ignored by the compiler.

Comments in MiniScript begin with two forward slashes (//) and continue until the end of the line.

Example

// Hello world program.  (This line is a comment.)
print "Hello world!"  // Greet the user.
// End of program (this line is also a comment).