Comments

Comments are descriptive remarks that are meant to be read by humans but ignored by computers. Programmers use comments to annotate how code works or what it does. It's also the case that some find it helpful to write programs by first notating comments and then filling in matching code.

////////////////////////////////////////////////////////////////////////////////////////////////////

To write a comment in SuperCollider, either precede text with

//

as in

// Everything up to the end of the line is a comment

or place text on one or more lines between

/* and */

as in

/*

This

is

a

comment

*/

If (when) evaluated, a comment will return nil, which is the value SuperCollider uses for unitialized data.

////////////////////////////////////////////////////////////////////////////////////////////////////

Use Format->Syntax Colorize (or cmd-') to syntax-colorize comments.

////////////////////////////////////////////////////////////////////////////////////////////////////

go to 4_Help