query if a filename or description is open - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Input and Output : File Manipulation : FileTools : FileTools/IsOpen

FileTools[IsOpen] - query if a filename or description is open

Calling Sequence

IsOpen(file)

Parameters

file

-

filename or descriptor

Description

• 

The IsOpen(file) command searches the internal file table to determine if file refers to an open file.

Examples

FileTools[Text]OpentestFile:

FileTools[IsOpen]testFile

true

(1)

FileTools[Remove]testFile:

FileTools[IsOpen]testFile

false

(2)

See Also

file_types, FileTools, FileTools[Binary][Close], FileTools[Binary][Open], FileTools[Remove], FileTools[Text][Close], FileTools[Text][Open], IO_errors


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam