Headings & Comments
Headings
Use the # character to indicate a heading line. Heading lines are emboldened and do not display an answer (even if there are numbers in the heading).
Comments
If you want Soulver to ignore certain numbers on a line, use a comment, like a label or a double slash comment.
labels:
Use a label at the beginning of a line, using a colon:
// double slash comments
All numbers after two slashes are ignored:
You can also add slash comments to the end of lines:
(parenthesis comments)
Numbers with additional commenting words inside parentheses are ignored:
"inline comments"
You can "quote out" numbers in the middle of an expression to have them ignored:
Comment Styles Summary
Label
123:
Sometimes a space character is needed after the : to distinguish from a clock time (like 14:45)
Double slash
// 123
Commonly used in software languages. Press ⌘-/ to automatically comment out an entire line in this style.
Parenthesis
(123 comment)
Ensure you have an accompanying comment word inside the the parentheses, to prevent implicit multiplication.
Inline
"123"
Last updated
Was this helpful?