> -----Original Message----- > From: Nick de Voil [mailto:[EMAIL PROTECTED] > Sent: 06 May 2004 09:38 > To: [EMAIL PROTECTED] > Subject: Re: [ cf-dev ] Structure notation deprecated in MX? > > > > I am going to upgrade our CF 5 apps to MX (finally!) and have a > question... > > I read somewhere that structure notation has been deprecated, does this > mean > > that I will need to change all form["var"] to form.var in my code? I > > regularly use structure notation when using dynamic variables as it is > > neater and often saves using the evaluate() function. > > form["var"] isn't what I'd call structure notation - I'd call it > associative > array notation. > > It definitely still works fine (as does structure notation, i.e. dot > notation). I don't remember seeing that it's deprecated - what > *has* changed > is that you can't create variables with dots in their names. > > Nick >
Cool, just found notation info in DWMX help files! Thanks. I agree about the notation being associative array notation, however as CF does not support associative arrays per say, and structures are used instead to handle this functionality, you can probably see my reasoning for calling it structure notation :o) - Phil. -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED]