Loop through Multi-Dimensional Array
andrew at rjdfarm.com
Mon Jun 21 13:50:56 CDT 2010
Getting closer, what this does is put a new element whose key name is the
contents of i and puts pNewName into that element.
tleaseData["TenantContact"] value is "Amanda Jo Pence"
the element above remains unchanged but a new element like this is made:
pNewName value is "Amanda Pence" it comes out as:
tleaseData["Amanda Jo Pence"] value is "Amanda Pence"
The second dimensions of elements it is checking are static in number.
Meaning, the number of iterations in the second loop is fixed at 8. But the
key names are strings. :\ So I think I run into the same problem trying to
reference the current second dimension of the array in the second loop.
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Loop-through-Multi-Dimensional-Array-tp2262924p2263153.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode