… with a second closing ‘)’ to balance the parens in the IFEQ function.
Bruce On Sep 7, 2021, 07:33 -0700, jan johansen <[email protected]>, wrote: > Charles, > > Try > IF (CHKVAR('vMAXID')) = 1 THEN > SET VAR vMAXID = (IFEQ(.VMAXID,NULL,0,.VMAXID) > ENDIF > > Jan > > > > From: Charles Stevens <[email protected]> > > To: RBASE-L <[email protected]> > > Date: Sun, 5 Sep 2021 13:41:34 -0700 (PDT) > > 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]. > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/rbase-l/de7023d9-a39d-4bdb-a67b-b860f52c6abcn%40googlegroups.com. > -- > 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/WC20210907143255.040050%40jjcalibrations.com. -- 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/f68227ae-48fd-459f-97bd-5445cbc7427e%40Spark.

