Alex Balashov wrote:
Daniel once taught me in a mailing list post how to
use AVP arrays
syntactically - i.e. to iterate through them and to implicitly create
them - for which I am very grateful. For example:
$var(i) = 0;
while($var(i) < $dbr(ra=>rows)) {
$(avp(s:rows_of_things)[$var(i)]) = $dbr(ra=>[$var(i),0]);
}
$var(i) = $var(i) + 1; # would help here :-)
But I don't see anywhere in the documentation - for the avpops module or
otherwise - where someone else can learn to use them. They are not
mentioned explicitly anywhere as having potentially nonscalar properties.
I think it is a good idea to fix that.
--
Alex Balashov - Principal
Evariste Systems
Web :
http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671