HELP Clause

 

HELP clause specifies the number of the help message associated with the corresponding menu option.

 

 

Element

Description

Integer Expression

A 4GL expression that returns a positive integer greater than 0 and less than 32,767.

 

The message will be displayed if the menu option is highlighted and the user presses the Help key. By default CONTROL-W is the Help key, this setting can be changed by means of the HELP KEY option of the closest OPTIONS statement.

 

MENU

COMMAND “Add” “Add a new record” HELP 23

CALL add_rec()

END MENU

 

In the example above, the help message number 23 is associated with the menu option “Add”. The number must occur in the help file that is specified in the HELP FILE option of the OPTIONS statement.

 

A menu option that is invisible cannot have a HELP clause.