PREP_PROCESS_DOCU

Use the PREP_PROCESS_DOCU script function to retrieve the content of a Documentation page from an object. The script function lets you specify the name of a particular Documentation page. The script function returns a reference to a data sequence that you can use for further processing by assigning the return code to the :PROCESS script statement. Use the GET_PROCESS_LINE script function to access each line in the data sequence.

You can retrieve the content of structured or simple (text-only) Documentation pages:

More Information

Notes: You cannot assign a new value to the script variable that contains the reference to the data sequence. Use :CLOSE_PROCESS to discard the existing data sequence, and then assign a new value.

Syntax

PREP_PROCESS_DOCU ( ObjectName, [Documentation page] )

Parameters

Important!

Example

The following script retrieves the content of a custom Documentation page that is called Notes in a Script object. The script prints the content of the page in the activation report.

:SET &HND# = PREP_PROCESS_DOCU(SCRI.TEST, Notes)
:PROCESS &HND#
: SET &LINE# = GET_PROCESS_LINE(&HND#)
: PRINT &LINE#
:ENDPROCESS

:CLOSE_PROCESS &HND#

See also:

seealso

Script Elements for Data Sequences