Wednesday, April 21, 2010

Create 6D Array with Coldfusion 8

Coldfusion 8 Server support 1-3 Dimentional array only.
If you want to create more that 3D Array then coldfusion server will give you error.
Then what will be the possible sollution for it or is it impossible??

What i preffer to do is in following way.

arr = arrayNew(3);
arr[1][1][1] = arrayNew(3);

Here arr is 6D array.
you can use in following way
arr[1][1][1][1][1][1].
.............................................................................................................................................
Some more interesting sollutions are comming...

No comments:

Post a Comment