I would agree with you there in terms of readability, not sure about performance if you had huge structures though.
I would always use the semantics that didn't require the NOT if performance was not an issue or affected. Dominic On 16/10/2007, Michael Dinowitz <[EMAIL PROTECTED]> wrote: > > Is there any consensus in the community as to which to use when checking > if a structure has content or not? I'm building a killer onError() handler > and I need to remove structures that have no content. I'm leaning towards > structcount() as I can do > <cfif structcount(url)> > rather than > <cfif not structisempty(url)> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291182 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

