filedesc - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


type/filedesc

check for an object of type filedesc

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(e, 'filedesc')

Parameters

e

-

any expression

Description

• 

The call type(e, 'filedesc') checks whether the expression e may be a valid file descriptor. File descriptors are expressions of types integer, string, or symbol.

• 

Note that this type check is a surface type check only. It does not verify that the expression e actually refers to an open file.

Examples

(1)

(2)

(3)

(4)

(5)

See Also

file

iolib

type

type/integer

type/string

type/symbol

 


Download Help Document