On Saturday, Mar 29, 2003, at 18:35 US/Pacific, S. Isaac Dealey wrote:
> structkeyexists() is also better than isdefined() imho since it's more
> specific although I wasn't entirely sure it would produce the desired 
> result

structKeyExists() will likely be faster (and it's safer - but it's 
complicated to explain why :)

> I wonder if <cfreturn this["get_" & propertyname]()> would produce an
> error... It sure looks funky...

It does error out which is why I used a temporary local variable (fn).

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to