Isn't this program supposed to allow me to print text in a separate window?
That';s not what tI get.
In fact, I get nothing at all.
No, that's not what your program does. If you want a separate window you need to open a unit with FILE='USER' and write to that. What do you expect the behavior of the call to SETTEXTWINDOW to be? My guess is that the output is being clipped.
QuickWin is documented here.
It isn't clear what it does, but I presume that
the text window would be contained within the graphics window.
Isn't that the intent?
The coords of the text window apparently cannot be specified in user coodinates,
which would be a useful enhancement.