Hello Carl,
Friday, September 15, 2000, 2:17:44 AM, you wrote:
CB> hi
CB> thanks alex for the hint with mgd_walk_xxx.
CB> It would be very helpful if i could use an array instead of
CB> simple vars and objects for the &(); construct. I'm working
CB> with a lot of form data and normaly collect all the input
CB> with array["form_element"] approch this especally helpfull
CB> if not all of the form elements are known i can just pass
CB> the array and step though what ever is in it.
We have support for arrays in &();, syntax is the same as for objects:
suppose you have an array $foo which is indexed in the loop with
variable $i, then $foo[i] can be displayed using &(foo.i[:formatter]);
--
Best regards,
Alexander mailto:[EMAIL PROTECTED]
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]