/--------------------------\
| REXX Clipboard Functions |
\--------------------------/

This program permits text mode REXX programs to access the clipboard.
Suggested uses:
1) Put the EXE (or a program object or shadow referencing it) in Startup. Then every program can access the clipboard.
2) Put the line "@start clipbrd" at the top of a REXX program that uses the functions. This permits that program to use the functions.
3) For a smart approach, put this code at the top of a program that uses the functions:
CLIPUNLOADED=RXFUNCQUERY("CLIPGET")
IF CLIPUNLOADED THEN "@START CLIPBRD"
And put this code at the end:
IF CLIPUNLOADED THEN CALL CLIPEXIT
This will allow the program to use the functions, and release the memory only if the functions were not preloaded.

Functions available
===================

CLIPGET
~~~~~~~
Usage: variable=CLIPGET()
variable: any valid REXX variable
Gets the contents of the clipboard into variable. May cause slight delay (under 1 second).

CLIPPUT
~~~~~~~
Usage: CALL CLIPPUT string
string: any valid REXX string
Sets the contents of the clipboard to string.

CLIPEXIT
~~~~~~~~
Usage: CALL CLIPEXIT
Exits the Clipboard Functions program. After executing this, no more CLIP functions can be executed.
