TOOL_RES.RFOPEN
built-in functionThis function opens the specified file as a resource file.
FUNCTION TOOL_RES.RFOPEN
(spec VARCHAR2)
RETURN rfhandle;
Parameter |
Description |
|
A file to be opened. spec is not case-sensitive. |
A handle to the specified file.
The following exceptions may be raised by TOOL_RES.RFOPEN
:
|
Raised if spec does not point to a valid file, or the file cannot be opened. |
|
Raised if an internal error is trapped. |
/*
** This example uses TOOL_RES.RFOPEN
*/
PROCEDURE my_init
(fhandle OUT TOOL_RES.RFHANDLE) IS
BEGIN
/* Open a resource file and assign it to
the handle, 'fhandle.' */
fhandle := TOOL_RES.RFOPEN('C;\my_app.res');
...
END;
About the TOOL_RES
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.