Getting text from a ClearWin window
It is possible to extract the data placed into a ClearWin window by
INTEGER FUNCTION GET_CLEARWIN_TEXT@(WIN,BUFFER,COPY)
INTEGER WIN, COPY
WIN is the handle of ClearWin window in question. To obtain the handle of
the default window use:
If COPY is zero, the function returns the length of the required buffer but no
data is copied. If COPY is 1, the data is also copied to the buffer.