Please enable JavaScript to view this site.

ESL Documentation

Core subroutine

Return internal error text.

call EDSQueryInternalError(ERROR_IV, ERRORTEXT_SV) 

ERROR_IV An input integer value which has been return by an EDS function or subroutine.

ERRORTEXT_SV An output string value containing the text of the message.

Description

Your application would call EDSQueryInternalError when a previous call to an EDS function or subroutine returns a value (or errorlevel), which  less than or equal to EDS_INTERNAL_ERR_START, to retrieve the text of the internal error.

Example

   if (Error_IV < EDS_INTERNAL_ERR_START) then 

      call EDSQueryInternalError(Error_IV, 

                                 ErrorText_SV)

      send ErrorText_SV "\n" to errorlog

      exit

   end if