Please enable JavaScript to view this site.

ESL Documentation

Function

Return the ID of the most recent error.

 

DDEGetErrorID ( ConvID_IV )

 

ConvID_IV is an integer value representing the conversation ID assigned by the DDE DLL.

Description

Called by client or server.  This function returns the ID of the most recent error encountered for a given conversation.  You can use the value returned by this function as an argument to DDEGetErrorString.

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