Yes, using getClass() on those returns coldfusion.filter.FormScope for the form scope and coldfusion.runtime.Struct for the struct.
Working through Super classes from there, the form scope goes back through some CF scope classes to java.util.AbstractMap, while the struct goes back through coldfusion.util.FastHashtable to java.util.Hashtable. -----Original Message----- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: Wednesday, 25 May 2005 11:44 To: CF-Talk Subject: RE:_Structures_vs._"Real_Structures" >> -----Original Message----- >> From: Rebecca Wells [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, May 24, 2005 5:30 PM >> To: CF-Talk >> Subject: Structures vs. "Real Structures" >> >> This reminds me of something that my boss and I argued about... I >> said that query recordsets and forms are structures, and he said that >> it's not the same kind of structure as a struct(), that the structure >> function is better because it's indexed and that the query and forms >> are not "real structures". Which is true? Technically the scope are not the same class as structures created with StructNew(), however, I would be willing to bet that they are a sub-class of the same class of structures created with StructNew() and as a result their indexing is identical. You can see the difference (some of it anyway) with something like this: <cfdump var="#form.getClass()#"> <cfdump var="#StructNew().getClass()#"> Did I get that right guys? It's late and I don't have time to look it up to be sure. :) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207621 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

