>- see footer for list info -< Boo to limitations. BOO I say! ta.
On Sat, Mar 14, 2009 at 4:25 PM, Adrian Lynch <[email protected]>wrote: > >- see footer for list info -< > It's a limitation at the moment. I reckon it'll go in newer CFs. > > CF8 at the start wouldn't let you do <cfset struct = {something = {}}> and > they soon changed it. Here's hoping... > > Adrian > > > -----Original Message----- > > From: [email protected] [mailto:dev- > > [email protected]] On Behalf Of Rich Wild > > Sent: 14 March 2009 15:42 > > To: Coldfusion Development > > Subject: [CF-Dev] struct shorthand > > > > >- see footer for list info -< > > in CF8, > > > > <cfset st_struct = {}> > > > > is the same as typing > > > > <cfset st_struct = structnew()> > > > > right? > > > > So that being true, which it is, why can't I do.. > > > > <cfset arrayappend(a_array, {})> > > > > (ie adding an empty struct to the end of an array) > > > > Without an error about named parameters being thrown? > > > _______________________________________________ > > For details on ALL mailing lists and for joining or leaving lists, go to > http://list.cfdeveloper.co.uk/mailman/listinfo > > -- > CFDeveloper Sponsors:- > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > >- Lists hosted by www.Gradwell.com -< > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< > _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
