Please enable JavaScript to view this site.

ESL Documentation

Function

Decompose status values returned by DDEGetStatus.

 

DDEQueryStatusFlag ( Status_IV, Flag_IV)

 

Status_IV is an integer representing a DDE status value.

Flag_IV is an integer representing a DDE status constant.

Description

Called by client or server.  This function is used to decompose status values returned by the DDE function DDEGetStatus.

 

This function accepts a DDE status value and a DDE status constant.  It returns true if that status value has the status constant encoded within it, and false if it does not.

Example

response to stimulus DDE DDE_ADVISE

   copy eventparam to ConvID_IV

   copy DDEGetStatus (ConvID_IV) to Status_IV

   if (DDEQueryStatusFlag (Status_IV, DDE_FNODATA) then

        copy true to NoData_BV

   else

        copy false to NoData_BV

   end if