Skip to main content

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:

TypeSyntax
Single-line (recommended)Lines starting with *
Single-line (recommended)Lines starting with a blank space
Block commentAll lines between /* and */
Inline commandCOMMENT 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 comments

The * 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.