SET ERROR VAR vErrVar
SET VAR vErrSave INTEGER
SHOW VAR vx
SET VAR vErrSave = .vErrVar
IF vErrSave = 0 THEN
PAUSE 2 USING "variable is defined"
ENDIF
IF vErrSave = 20 THEN
PAUSE 2 USING "Variable is not defined"
ENDIF
RETURN
On 9/19/2014 9:05 AM, Dennis McGrath wrote:
I seem to remember there is a way to test if a variable is defined.
I can’t find it in the docs.
Thanks
[cid:[email protected]]<http://www.qmiusa.com/>
Dennis McGrath
Software Developer
Email: [email protected]<mailto:[email protected]>
Toll Free: 800-446-2500
International: 01 630-529-7111
Extension: 1026
Direct: 630-980-8461
www.qmiusa.com<http://www.qmiusa.com>
.
________________________________
This email may contain material that is confidential, privileged and/or
attorney work product for the sole use of the intended recipient. Any review,
reliance or distribution by others or forwarding without express permission is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================