Skip to main content
Skip table of contents

Expr Language - Comments

Comments are helpful when you have a large formula or when a reader might need explanations of what is being calculated. It's a good idea to add comments wherever the formula is not trivial.

  • To add a single line of comment, begin the comment with //
  • To add multiple lines of comment, start the comment with /* and end the comment with */

Example:

CODE
// This is a single-line comment.

/* This is a multi-line comment.
   It can be useful for longer explanations. */
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.