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.