Cicode Programming Reference > Cicode Function Categories > Event Functions Introduction > ChainEvent

ChainEvent

Calls an event function using the function handle. This creates a chain of event handlers from a single event. Use the GetEvent() function to get the function number of the current event handler.

Syntax

ChainEvent(hFn)

hFn:

The function handle, as returned from the GetEvent() function.

Return Value

The return value of the called event function.

Related Functions

OnEvent, GetEvent

Example

See GetEvent

See Also

Event Functions