IDLitWriter::IsA

Syntax | Return Value | Arguments | Keywords | Version History

The IDLitWriter::IsA function method is called by the system to determine if the given file is of the type supported by this file writer. Often this is used to determine what file writer to use when opening a new file.

The default behavior provided by this method is to check the file extension on the provided file name with the extensions provided to this object during initialization.

When a new writer is implemented, the default behavior can be used, or the developer can provide further logic to determine if the provided file is the correct type.

Syntax

Result = Obj->[IDLitWriter::]IsA(Filename)

Return Value

Returns a 1 if the writer supports this type of file, or a 0 if the writer does not support this type of file.

Arguments

Filename

A string scalar representing of the filename, which is used to check and determine if the writer supports its format.

Keywords

None

Version History

6.0

Introduced