Comments
Comments start with # and run to the end of the line. They can be their own line or trail after code.
# This is a comment
println 'Hello!' # Inline comments work too
There is no block comment syntax — every comment is single-line.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Comments start with # and run to the end of the line. They can be their own line or trail after code.
# This is a comment
println 'Hello!' # Inline comments work too
There is no block comment syntax — every comment is single-line.