SYS_LAST_REGISTERED_VARNAME

Use the SYS_LAST_REGISTERED_VARNAME script function to retrieve the last used variable name of the :REGISTER_VARIABLE script statement.

Syntax

SYS_LAST_REGISTERED_VARNAME ()

Return Codes

The script function returns the last used variable name of :REGISTER_VARIABLE.

Example

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

:set &uc_register_varname = sys_last_registered_varname
:print &uc_register_varname

See also: