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>
i guess my 2nd question, is this...Does the isDefined("")
look for something that is of a value greater than 1 Len()
or should/would an empty variable (a form field that hasnt
had anything typed in it), pass the isDefined("")
test?
just wondering ;)
...tony
tony weeg
[EMAIL PROTECTED]
www.revolutionwebdesign.com
rEvOlUtIoN wEb DeSiGn
410.334.6331
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.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