Return to previous page | Return to menu | Go to next page


EVENT *
Event management function

slSetEventNext

Add new event after specified event

Format

EVENT *slSetEventNext(evptr , func)
EVENT *evptr ;

Parameter

evptr Start address of event area just before inserting new event
func Function pointer to register as event

Function

Get the event area and insert / add it to the event list.
A new event is registered in the event list to be executed next to the event specified as a parameter.

Return value

The function returns the start address of the registered event area.
If no event area remains, the event is not registered and the function returns a null code.

Remarks

The event area is reserved as a 128-byte area, but the first 16 bytes are used by the system.

Reference: Chapter 10 Event Control

slSetEventNext


Return to previous page | Return to menu | Go to next page