Please enable JavaScript to view this site.

ESL Documentation

Function

Return the error string associated with an error identifier.

 

DDEGetErrorString ( ErrorID_IV )

 

ErrorID_IV is an integer value representing an error identifier obtained from a call to DDEGetErrorID.

Description

Called by client or server. This function accepts an error identifier (ID) and returns the error string associated with that ID. The error string is a textual description of the error identified in the errorlog. (See Recognizing DDE Errors.)

Example

response to stimulus DDE DDE_ERROR

   copy eventparam to ConvID_IV

   if (not(ConvID_IV = 0)) then

     copy DDEGetErrorID(ConvID_IV) to ErrorID_IV

     copy DDEGetErrorString(ErrorID_IV) to ErrorString_SV

   else

     copy -1 to ErrorID_IV

     copy "null Conversation ID" to ErrorString_SV

   end if