DML: Comments

DML comments

Comment use and syntax

DML comments

A DML instruction can contain comments. A comment serves only for documentation in a program. When the Map Engine service handles the code at runtime, it does not process comments.

Comment use and syntax

A DML comment is any text that begins and ends with a combination of the curly bracket and hash-sign character ({#). For example:

{#this is a comment#}

The following syntactic rules apply:

  • You can place a comment in your code anywhere that a white space character is allowed.
  • Comments can occupy more than one line.
  • Comments cannot be nested.

Note If you place a comment inside a string-type constant, the Map Engine service handles the comment as a normal string character.

Related Links