GetEvent

bool GetEvent(number types, heapPtr event)

GetEvent retreives the event type(s) and places them in the specified event object's properties. It returns TRUE if the event was created, FALSE if not.
The event types, specified in SCI.SH can be any of the following:

evNULL A null event
evMOUSEBUTTON A mouse button press event
evMOUSERELEASE A mouse button press event
evKEYBOARD A keyboard event
evJOYSTICK A joystick event
evMOUSEKEYBOARD A mouse button press or keyboard event
evALL_EVENTS Check for all events
Example
(var celWidth, celHeight)
=
celWidth CelWide(100 1 3) // Looks up the width of loop 1, cel 3 in VIEW.100
=
celHeight CelHigh(100 1 3) // Looks up the width of loop 1, cel 3 in VIEW.100

See Also: GlobalToLocal, LocalToGlobal