AddEvent Data Member Function

Adds an event and function handler to this object.

Prototype

int32 AddEvent( string p_sEvent, string p_sEventHandlerFunc )

Parameters

Parameter Type Parameter Name Documentation
stringp_sEventA string containing a registered event type such as SPA.OnNotify.
stringp_sEventHandlerFuncA string containing the name of the script language function to execute as the event handler.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.