The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Threaded View

Overloading Arrays for multi-dimensional purposes

VARIABLE1,VARIABLE1,PROPERTY1,PROPERTY2...PROPERTY6|\

You have a number of lines - in the above format.
They are in a single variable.
You want to take it
and create a multi-dimensional Array.
MORE than that - you want it more in an hash ( list, dictionary ) format.

I thought it couldn't be done in JS.
I finally hit a problem which i couldn't overcome without
working out how to handle this.