Bugs reported in Proparse sometimes lead me to come up with some pretty funny looking but legal code. The following script displays a couple of strings and then waits for keypress of '(' or ')'.
function wait returns character: display "in wait()". return "". end function. display "hi". wait(). wait(,) of current-window.
What fun. :)