|
![]() |
![]() |
version 2003
PA_WaitNextEvent (event) → char
Parameter | Type | Description | |
event | PA_Event * | ← | Current event |
Function result | char | ← | 1 if an event is received |
Description
The routine
PA_WaitNextEvent
must be called in the internal loop of any external process. This is mandatory in order to :
- Give time to other processes | |
- Get the current event (
mouseDown
,
keyDown
)
|
If there is an event available for the external process, returns 1, otherwise it returns 0.
Example
Please, refer to
External processes
for an example of use.
See Also
External processes , PA_NewProcess .
Error Handling
always returns
eER_NoErr