Unfortunately I don't know the answer but I don't think that what you proposed would work. This will initialize the var to "" no matter what. In my understanding Scott is looking for code that would declare the var only if it's not already defined
Ben -----Original Message----- From: Tony Carcieri [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 10:24 AM To: CF-Talk Subject: RE: VB Dim only declares the var.. Try this: Dim x x = "" -----Original Message----- From: Robert Everland [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 4:17 PM To: CF-Talk Subject: RE: VB Isn't it DIM Robert Everland III Web Developer Extraordinaire Dixon Ticonderoga Company http://www.dixonusa.com -----Original Message----- From: Scott Mulholland [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 4:15 PM To: CF-Talk Subject: OT: VB Anyone know if there is an equivalent of what cfparam in VB. I need to set a default for a variable in case it does not exist. Thanks, Scott ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

