Here's some code that might help...
IF ! "GPLIB" $ UPPER(SET("LIBRARY"))
Wait Wind 'Gplib Not Loaded'
ENDIF
HTH
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown