Previous Topic: #FLD Control Statement—Define or Modify a Panel Definition Field Character

Next Topic: #OPT Control Statement—Define Panel Processing Options

#NOTE Control Statement—Allow User Comments in a Panel Definition

This control statement provides a means of placing documentation within a panel definition. The #NOTE statement is not processed and is ignored. Multiple #NOTE statements can be specified. However, as with the #FLD, #ERR, and #OPT statements, all #NOTE statements must precede the start of the panel. The start of a panel is determined by the first line that is not a control statement or #NOTE statement.

This control statement has the following format:

#NOTE any_text
any_text

Specifies any free-form user text.

Examples: #NOTE Control Statement

#NOTE This panel is used by the Network Error Log System
#NOTE INWAIT=60 CURSOR=&CURSORFLD

As shown in the example, the #NOTE statement can provide a simple means of temporarily nullifying another control statement, allowing for easy reinstatement when required.