> is
>
> <cfif isDefined("MyVariable")>
>
> Yes i am defined
>
> </cfif>
>
> better/faster than or do the same thing as
> (if you know the variable is defined) also
> if you dont know the variable is defined.
>
> <cfif Len(#MyVariable#)>
>
> Yes i am defined
>
> </cfif>
They are different tests. A variable containing an empty string is still a
variable.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
______________________________________________________________________
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