TOOL_RES.RFCLOSE
built-in procedureThis procedure closes the specified resource file. All files opened with TOOL_RES.RFOPEN
should be closed using TOOL_RES.RFCLOSE
before quitting the application.
PROCEDURE TOOL_RES.RFCLOSE
(file rfhandle);
Parameter |
Description |
|
A file to close. |
The following exceptions may be raised by RFCLOSE
:
|
Raised if the file handle does not point to a valid file. |
|
Raised if an internal error is trapped. |
/*
** This examples uses TOOL_RES.RFCLOSE
*/
PROCEDURE my_cleanup
(my_file_handle IN OUT TOOL_RES.RFHANDLE)IS
BEGIN
/* Assign a resource file to 'fhandle.' */
...
/* Close the resource file with the
handle ‘fhandle.’ */
TOOL_RES.RFCLOSE(my_file_handle);
...
END;
About the TOOL_RES
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.