The language reference says
'Wait: sends all the accumulated gui commands to the browser. The browser will display once this command is run"
In other languages, "wait" might be pause for a time, or pause for an action (eg keypress or characters to arrive in a comms register or a pin to go high) or pause for an action but if it doesnt happen after specified time move on anyway.
Readling the code examples hasnt really left me any the wiser, in fact they look like the more historical usage but i think a bit less thought and a bit more trial and error probably would! My suspicion is they read like that to me, because thats what i expected to see...
If no " wait " command was issued, what would the effect be?