I confirmed that I see the same thing on 7.01. It's actually worse than it first appears. If you keep reloading you page, you'll notice that sometimes alpha and beta get overwritten with 12 and b2, and sometimes they dont. Sometimes only one gets overwritten.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harry Klein Sent: Wednesday, October 05, 2005 11:56 AM To: [email protected] Subject: AW: [CFCDev] Arguments quiz o.k., then the problem was introduced with CFMX 7.0.1 -Harry > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von RADEMAKERS Tanguy > Gesendet: Mittwoch, 5. Oktober 2005 17:52 > An: [email protected] > Betreff: RE: [CFCDev] Arguments quiz > > nope... i see > > struct > alpha 1 > beta b > delta > struct > alpha 12 > beta b2 > gamma > array [empty] > > in CFMX7 > > >-----Original Message----- > >From: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED] On Behalf Of Harry Klein > >Sent: Wednesday, October 05, 2005 5:43 PM > >To: [email protected] > >Subject: [CFCDev] Arguments quiz > > > >Short quiz: > >What is the output from the cfdump below? (in CFMX7) > > > >================== Code ====================== > > > ><cffunction name="newStruct"> > > <cfreturn arguments> > ></cffunction> > > > ><cfset test = newStruct(alpha=1, beta="b", gamma=arrayNew(1), > >delta=newStruct(alpha=12, beta="b2"))> > > > ><cfdump var="#test#"> > > > >=============================================== > > > >-Harry > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >P.S. > > > >Result in CFMX 6: > >struct > > alpha 1 > > beta b > > delta > > struct > > alpha 12 > > beta b2 > > gamma > > array [empty] > > > >Result in CFMX 7: > >struct > > alpha 12 > > beta b2 > > gamma > > array [empty] > > > > > >---------------------------------------------------------- > >You are subscribed to cfcdev. To unsubscribe, send an email to > >[email protected] with the words 'unsubscribe cfcdev' as > the subject > >of the email. > > > >CFCDev is run by CFCZone (www.cfczone.org) and supported by > CFXHosting > >(www.cfxhosting.com). > > > >CFCDev is supported by New Atlanta, makers of BlueDragon > >http://www.newatlanta.com/products/bluedragon/index.cfm > > > >An archive of the CFCDev list is available at > >www.mail-archive.com/[email protected] > > > > > > > > > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [email protected] with the words 'unsubscribe cfcdev' as > the subject of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported by > CFXHosting (www.cfxhosting.com). > > CFCDev is supported by New Atlanta, makers of BlueDragon > http://www.newatlanta.com/products/bluedragon/index.cfm > > An archive of the CFCDev list is available at > www.mail-archive.com/[email protected] > ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
