%RW_METHOD
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
|
status = %RW_METHOD(event_method_pair[, ...])
Return value
status
Either 0 (no error occurred) or a handle to error data as defined in reports.def.
Arguments
event_method_pair
The ReportWriter subroutine to overload. One of the following:
Set the library to load subsequent method routines from.
Open a file/printer for printing.
Close the output file/printer.
Obtain contents of environment field.
Return user-defined data type value.
Determine user-defined data type usage.
Get information about highlighted list item.
Initialize the report building phase.
Discussion
%RW_METHOD “registers” your overloaded subroutine so that ReportWriter will recognize it. You must call %RW_METHOD from within an RW_INIT_METHOD routine.