TEXT_IO.IS_OPEN
built-in functionThis function checks to see if the specified file is currently open.
FUNCTION TEXT_IO.IS_OPEN
(file file_type)
RETURN BOOLEAN;
Parameter |
Description |
|
A variable that specifies the file to check. |
TRUE
or FALSE
.
/*
** Determine if the output file is open. If so,
** then close it.
*/
IF TEXT_IO.IS_OPEN(out_file) THEN
TEXT_IO.FCLOSE(out_file)
About the TEXT_IO
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.