If PAL.Loop skips WaitForEvent, that's a bug and not by design.
Please report that behavior with a sample PAL Script to the Spacial Helpdesk and ask for a fix, maybe this can be repaired for one of the next versions.
In the meantime, you can try using an endless loop instead:
This will repeat as long as True is a truthy value (i.e. forever):
Code:
WHILE True DO
BEGIN
...
PAL.WaitForEvent('event');
...DoStufff();
...
END;
or
This will stop repeating as soon as False is a truthy value (i.e. never):
Code:
REPEAT
...
PAL.WaitForEvent('event');
...DoStuff();
...
UNTIL False;