then within the function I check to see if the variable = 0
It seems to work.
Thanks
-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 22, 2004 6:43 PM
To: CF-Talk
Subject: RE: checking if variables are defined within <invoke>
> Is there a way to check if variables exist within a <cfinvoke>?
> <cfif isdefined("foo")>GOO = "#foo#"</cfif> doesnt work
>
> Do you have to write a whole separate <cfinvoke>?
You could use the Iif function, I guess, but you could also just check for
the variable's existence before your CFINVOKE tag.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

