Comments

Comments are text that are intended only for the programmer, and ignored by the compiler.

In Spin, Any text following an apostrophe (') on a single line is is a comment, and ignored.

x := 5 + y ' adds 5 and y

To span multiple lines, use curly braces ({,}).

{
 This feature adds some awesome capabilities.
 We are using it at full speed here.
}
 newFeature(x, y)

results matching ""

    No results matching ""