TOOL_RES.Rfopen
Description
Opens the specified file as a resource file.
Syntax
FUNCTION Tool_Res.Rfopen
(spec VARCHAR2)
RETURN rfhandle;
Parameters
Parameter |
Description |
spec |
A file to be opened. spec is not case-sensitive. |
Usage Notes
The following exceptions may be raised by Tool_Res.Rfopen:
File_Not_Found |
Raised if spec does not point to a valid file, or the file cannot be opened. |
Tool_Err.Tool_Error |
Raised if an internal error is trapped. |
Example
/*
** 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;