Comments
RunScore permits you to add notes and documentation inside listing files. All comment lines are completely ignored by the interpreter — they exist purely for human readers.
There are four comment styles:
| Type | Syntax |
|---|---|
| Single-line (recommended) | Lines starting with * |
| Single-line (recommended) | Lines starting with a blank space |
| Block comment | All lines between /* and */ |
| Inline command | COMMENT followed by text after the 21st character |
Examples:
* This is a comment
So is this one
/* This is
a section of
comments
*/
COMMENT We don't recommend this one
Prefer
* for single-line commentsThe * prefix is the most readable and widely used style in RunScore listing files. Reserve block comments (/* ... */) for temporarily disabling sections of a file during testing.