SYS_LAST_REGISTERED_OFILE

Use the SYS_LAST_REGISTERED_OFILE script function to retrieve the last used output file of the :REGISTER_OUTPUTFILE script statement.

Syntax

SYS_LAST_REGISTERED_OFILE ()

Return Codes

The script function returns the last used output file of :REGISTER_OUTPUTFILE.

Example

The following example sets and prints a script variable with the value returned from sys_last_registered_ofile.

:set &uc_register_ofile = sys_last_registered_ofile

:print &uc_register_ofile

See also: