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.

Syntax


ENVI_IO_ERROR, Proc [, UNIT=integer]

Arguments


Proc

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.

Keywords


UNIT

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.