This routine has been replaced with the ReportError method to ENVI. See Manage Errors for more information.
Use this procedure to report I/O processing errors.
ENVI_IO_ERROR, Proc [, UNIT=integer]
This is a text string to be echoed to the terminal when an I/O error occurs. Generally, Proc should be the name of the procedure in which ENVI_IO_ERROR is called.
Use this keyword to specify the unit number of the output file being generated. If you specify UNIT and an error occurs, ENVI_IO_ERROR will delete this file.