  | | | Dynamic multi-dimensional array | Dynamic multi-dimensional array 2004-03-18 - By Dominico Savio
Back How would you guy do this:
for (i=0; i<7; i++) { temp = eval("valueSet"+i).split(","); toIndexMap[i] = new Array(); for (j=0; j<temp.length; j++) { ixd = "idx" + temp[j]; toIndexMap[i].idx = j; } }
I have tried toIndexMap[i].eval(idx) but didn't work
Thanks in advance
Dominic
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107389 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |