If you use ‘WaitWindowEvent’ without parentheses, there is no syntax error and the program cannot be closed. Other events are also not processed.
I don't know if this is a PB error or just a user error.
Peter
Code: Select all
OpenWindow(0, 0, 0, 300, 200, "Test")
Repeat : Until WaitWindowEvent = #PB_Event_CloseWindow
;Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow


