12. Inter-Frame Communication Techniques : How You Can Communicate with an External Program Using External User Events : UserEvent Event Block : How You Can Pass an Integer Value to an Event Block
 
Share this page                  
How You Can Pass an Integer Value to an Event Block
The IIW4GL_SendUserEvent procedure, which you use in your 3GL program to send the user event, has a messageinteger parameter that you can use to pass one integer value to the user event block. In the receiving frame, OpenROAD stores this value in the MessageInteger attribute of the FrameExec object. To access this data in your user event block, use the CurFrame system variable to reference the current FrameExec.
For more information about this procedure, see IIW4GL_SendUserEvent Procedure (see IIW4GL_SendUserEvent Procedure).