Return to previous page | Return to menu | Go to next page
EVENT *
Event management function
Add new event after specified event
EVENT *slSetEventNext(evptr , func)
Get the event area and insert / add it to the event list.
The function returns the start address of the registered event area.
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
EVENT *evptr ;
Parameter
evptr Start address of event area just before inserting new event
func Function pointer to register as event
Function
A new event is registered in the event list to be executed next to the event specified as a parameter.
Return value
If no event area remains, the event is not registered and the function returns a null code.
Remarks