Charles

  Have you tried CHKVAR checks to see if variable name exists

 

Buddy

 

From: [email protected] <[email protected]> On Behalf Of Charles 
Stevens
Sent: Sunday, September 5, 2021 4:42 PM
To: RBASE-L <[email protected]>
Subject: [RBASE-L] - Variable Not Defined

 

What would be the best way to identify a variable as undefinied in an 
application and exit the routine? I have a reference to vMAXID which may not be 
defined under some circumstances (not just null), and I need to terminate 
processing. I have a SET VAR vMAXID = (IFEQ(.VMAXID,NULL,0,.VMAXID) which 
throws an error message "variable not defined" with an error code of 2515, but 
this seems a rather clumsy way to find the error. Thanks in advance . . . 

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected] 
<mailto:[email protected]> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/de7023d9-a39d-4bdb-a67b-b860f52c6abcn%40googlegroups.com
 
<https://groups.google.com/d/msgid/rbase-l/de7023d9-a39d-4bdb-a67b-b860f52c6abcn%40googlegroups.com?utm_medium=email&utm_source=footer>
 .

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/000c01d7a29e%2472fffaf0%2458fff0d0%24%40comcast.net.

Reply via email to