Comments

Comments are non-process information contained in the control and rule files. Enrichment ignores any text or symbols between the comment begin and end characters. You can nest comments and place them anywhere in the control or rule file to provide an explanation of the code, make notes to yourself or other developers, or to record the date, time, and author of the code.

Comments can be included in any of the following programming styles:

  • /* comment text */

    Comments can span multiple lines up to the closing */. This is helpful if you need to temporarily comment out a block of lines for testing.

  • <! comment text >

    Comments can span multiple lines up to the closing >.

  • // comment text

    This comments the rest of the current line after the two slashes.

All three comment styles will work in both the rule file and the control file.

To comment out blocks of code, use the /**/ style, because the tag syntax <tag> may lead to an incorrect closing of the <!> block of comments.

Note: To comment out a <GETFILE> statement you must use a double slash (//). You cannot comment out a <GETFILE> statement using other comment markers (such as /*…*/).