HELP: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "The HELP error condition may be specified at the end of a program statement, in the Exit statement, and with the ON error statement. ===Error Traps:=== When HELP is coded at ...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


===Error Traps:===
===Error Traps:===
When HELP is coded at the end of a statement, it traps the pressing of the <HELP> key. This end-of-statement use of HELP takes effect only when the operator presses <HELP> during execution of a keyboard input statement (INPUT, RINPUT, LINPUT, INPUT FIELDS and RINPUT FIELDS) and when the HELP error condition is coded at the end of the input statement.
When HELP is coded at the end of a statement, it traps the pressing of the <HELP> key. This end-of-statement use of HELP takes effect only when the operator presses <HELP> during execution of a keyboard input statement ([[Input|INPUT]], [[Rinput|RINPUT]], [[Linput|LINPUT]], [[Input Fields|INPUT FIELDS]] and [[Rinput Fields|RINPUT FIELDS]]) and when the HELP error condition is coded at the end of the input statement.


The use of HELP with the ON error statement is somewhat different from the use of other error conditions. When ON HELP SYSTEM is in effect and the <HELP> key is pressed (and not otherwise trapped by an end-of-line HELP condition), Business Rules executes an implied HELP$ call. This HELP$ call accesses the keyword and file name which are named by the BRConfig.sys file's HELPDFLT specification. If HELPDFLT has not been specified, ON HELP SYSTEM operates as ON HELP IGNORE. For additional information, see the ON error statement and the Help Facility chapter.
The use of HELP with the ON error statement is somewhat different from the use of other error conditions. When ON HELP SYSTEM is in effect and the <HELP> key is pressed (and not otherwise trapped by an end-of-line HELP condition), Business Rules executes an implied HELP$ call. This HELP$ call accesses the keyword and file name which are named by the BRConfig.sys file's HELPDFLT specification. If HELPDFLT has not been specified, ON HELP SYSTEM operates as ON HELP IGNORE. For additional information, see the [[ON error]] statement and the [[Help Facility]] section.
 
See also [[Help|Help Disambiguation]].
 
<noinclude>
[[Category:Error Conditions]]
</noinclude>

Latest revision as of 15:21, 6 August 2013

The HELP error condition may be specified at the end of a program statement, in the Exit statement, and with the ON error statement.

Error Traps:

When HELP is coded at the end of a statement, it traps the pressing of the <HELP> key. This end-of-statement use of HELP takes effect only when the operator presses <HELP> during execution of a keyboard input statement (INPUT, RINPUT, LINPUT, INPUT FIELDS and RINPUT FIELDS) and when the HELP error condition is coded at the end of the input statement.

The use of HELP with the ON error statement is somewhat different from the use of other error conditions. When ON HELP SYSTEM is in effect and the <HELP> key is pressed (and not otherwise trapped by an end-of-line HELP condition), Business Rules executes an implied HELP$ call. This HELP$ call accesses the keyword and file name which are named by the BRConfig.sys file's HELPDFLT specification. If HELPDFLT has not been specified, ON HELP SYSTEM operates as ON HELP IGNORE. For additional information, see the ON error statement and the Help Facility section.

See also Help Disambiguation.