<?xml version="1.0" encoding="windows-1252"?>
<node id="153888" title="Re: Iterator for multidimensional arrays" created="2002-03-24 08:35:08" updated="2005-07-21 01:31:06">
<type id="11">
note</type>
<author id="53423">
Masem</author>
<data>
<field name="doctext">
Another possibility would be to have a single iteration loop from 0 to N1 * N2 * N3 *..., and on, and using mod functions on the index to figure out the positions within the array.
&lt;P&gt;
-----------------------------------------------------
&lt;BR&gt;
&lt;I&gt;
&lt;A HREF="http://mneylon.masemware.com/"&gt;Dr. Michael K. Neylon&lt;/A&gt; - &lt;a href="mailto:mneylon-pm@masemware.com"&gt;mneylon-pm@masemware.com&lt;/a&gt;
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
&lt;BR&gt;
&lt;FONT COLOR="#800000"&gt;&lt;I&gt;"I can see my house from here!"&lt;/I&gt;&lt;/FONT&gt;
&lt;BR&gt;
&lt;FONT COLOR="#808080"&gt;&lt;I&gt;It's not what you know, but knowing how to find it if you don't know that's important&lt;/I&gt;&lt;/FONT&gt;
&lt;/I&gt;</field>
<field name="root_node">
153873</field>
<field name="parent_node">
153873</field>
</data>
</node>
