Wish List
Tags
adobe air ajax coldfusion examples ext flex javascript max2007 misc technology ui
Recent Entries
A Question of Speed
It's a BOY!
Unit Testing Functions that Access Web-Services
TIOBE Reconsiders
jQuery UI's new home
Search
RSS
Subscribe
Implicit Nested Array and Structure Creation
Ben Forta posted a 'planned' feature to be added in the upcoming CF8 updater that should complete the circle in the ability to implicitly create arrays and structures by allowing us to nest the creation (like you can in several other languages out there).
Currently we can only create arrays and structures implicitly in the following manner.
<cfset myarray =['one','two','three]>
The planned method would more closely resemble how you define nested literal arrays in Javascript or AS3.
<cfset downAndOutClub =[{firstname="Britney", lastName="Spears"},{firstName="Jennifer", lastName="Lopez"},{firstName="Lindsay",lastName="Lohan"}]>
Personally I hope this makes it into the updater!
Happy Coding...

