Thx Razzak, that is exactly what I am using it for!! Dan Goldberg
From: [email protected] <[email protected]> On Behalf Of Razzak Memon Sent: Wednesday, April 24, 2024 2:49 PM To: [email protected] Subject: RE: [EXTERNAL] Re: [RBASE-L] - Checking Variables IF (CHKVAR('vVarName')) <> 1 THEN SET VAR vVarName vartype = NULL ENDIF On 04/24/2024 5:48 PM EDT Razzak Memon <[email protected]<mailto:[email protected]>> wrote: Here is how I use the (CHKVAR('varname)) function in all my applications when it is required. IF (CHKVAR('vVarName)) <> 1 THEN SET VAR vVarName vartype = NULL ENDIF That way, without any -ERROR-message, etc., if the variable in question exists, nothing happens; if it doesn't exist, it creates one with a NULL value. Very Best R:egards, Razzak On 04/24/2024 1:26 PM EDT 'Dan Goldberg' via RBASE-L <[email protected]<mailto:[email protected]>> wrote: That was easy. Thx Bruce! Dan Goldberg From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> On Behalf Of Bruce Chitiea Sent: Wednesday, April 24, 2024 10:19 AM To: [email protected]<mailto:[email protected]> Subject: [EXTERNAL] Re: [RBASE-L] - Checking Variables (CHKVAR('varname')) Checks to see if a variable name exists. The function returns an integer value of 1 if the variable name exists or declared, and 0 if it is not found or declared. ------ Original Message ------ >From "'Dan Goldberg' via RBASE-L" ><[email protected]<mailto:[email protected]>> To "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date 4/24/2024 10:16:01 AM Subject [RBASE-L] - Checking Variables I am looking for a way to check to see if a variable has been created. Does anyone know a way to see if a variable has been created? Dan Goldberg -- 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/BY3PR19MB50277D275D2BFCEF47B87B8BD4102%40BY3PR19MB5027.namprd19.prod.outlook.com<https://groups.google.com/d/msgid/rbase-l/BY3PR19MB50277D275D2BFCEF47B87B8BD4102%40BY3PR19MB5027.namprd19.prod.outlook.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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/emff5c7993-2053-429a-be90-b36051aa1bfd%40a5dc929d.com<https://groups.google.com/d/msgid/rbase-l/emff5c7993-2053-429a-be90-b36051aa1bfd%40a5dc929d.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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/BY3PR19MB50272931B15E669703823FA1D4102%40BY3PR19MB5027.namprd19.prod.outlook.com<https://groups.google.com/d/msgid/rbase-l/BY3PR19MB50272931B15E669703823FA1D4102%40BY3PR19MB5027.namprd19.prod.outlook.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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/676408039.9388300.1713995285224%40email.ionos.com<https://groups.google.com/d/msgid/rbase-l/676408039.9388300.1713995285224%40email.ionos.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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/937316899.9388479.1713995365303%40email.ionos.com<https://groups.google.com/d/msgid/rbase-l/937316899.9388479.1713995365303%40email.ionos.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/BY3PR19MB502717824A75BC2D3FCF767CD4172%40BY3PR19MB5027.namprd19.prod.outlook.com.

