FDFlags()

  FDFlags

Description

FDFlags() is used to retrieve the flags associated with a file handle.

Call Signature

string FDFlags ( int/string filespec )

Return Value

string

Returns a string containing all the flags associated with this file handle separated by spaces.

Argument

int/string filespec:

This can either be the handle returned by DKOpen()/TextOpen()/DBOpen(), or the name of such a file.

Remarks

The following lists the possible flags returned:
  • TXT: The file is a text file, and text access function (ie. TextRead())would work.
  • WRITABLE: The file handle has update access.
  • DKIO: DKRead(), and DKWrite() can be used with this file.
  • STDIO: Standard I/O functions can be used with this handle. Not normally meaningful within EASI.
  • TAPE: The file refers to a tape device.
  • GDB: The file refers to a GDB data set (opened with DBOpen()).

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.