This function returns an array of file IDs for all open ENVI Classic files. A file ID is a long integer with a value greater than 0. If no files are open, then a value of -1 is returned.

More than one file ID may be associated with a single open file in ENVI Classic. For example, if ENVI_GET_FILE_IDS is applied to a virtual mosaic, it returns not only the file ID of the virtual mosaic but also the IDs of the files used to create the mosaic.

Syntax


Result = ENVI_GET_FILE_IDS()

API Version


4.3