Comments

Expressions may include single-line and multi-line comments.

A single-line comment starts with the character sequence of two forward slashes // and continues to the end of the current line.

Here is an example of single-line comments:

10 // Low threshold && {temperature} < 30 // High threshold]]>

A multi-line comment starts with the character sequence of a forward slash, then an asterisk /* and ends with the sequence of an asterisk, then forward slash */.

Here is an example of a multi-line comment:

10 /* Low threshold */ && {temperature} < 30 /* High threshold */]]>

Was this page helpful?