Please enable JavaScript to view this site.

ESL Documentation

Action Inquiry Built-in Function

Return whether read, write, or insert file executed successfully.

ioerror

Description

ioerror is a boolean function, returning the value false if the operation was successful, and true if it was not successful. The default value is false.

If the operation was not successful, ioerror is set to true and an error message is generated.

Example

 

read file "sales.dat" into Report_TR

 if (ioerror) then

         add to Report_TR

         insert "File Not Found"

 end if

See Also

insert Drawing Statement

read Action Statement

write Action Statement