I&#39;m a little confused. Are you saying there is a transformation {s.count} that can be applied to avp&#39;s to get the number of items in an avp list/stack?<br>I don&#39;t see any documentation for one at the link that you sent me. I had already scoured it looking for something to help me, but checked again in case something had changed.
<br>It sound more like you are saying that there is no such functionality and suggesting that I code/create a new transformation.<br>Unfortunately my &quot;Programing&quot; experience is quite rusty, the last time I looked at C/C++ was in College almost 15 years ago. Not to mention already not enough time in a day to get done what I&#39;m supposed to do. Maybe some time in the future I/we will be able to contribute code to openser and/or modules, but not now. We are pushing hard to have a quality sell able product/service.
<br>Or company is planning to contribute back to openser in several ways. When we get our servers setup and working, providing a stable, load-balanced, scalable platform that our sales team can sell our services with confidence, we are planning to post our 
openser.cfg files highly commented, along with database structure changes(added tables, views, colums, indexes...), example data, and a way to manage the data.<br><br>So for now (assuming you are saying there isn&#39;t something there now) I&#39;ll have to use what is currently available and hope that someone else with more experience and time finds these features valuable enough to implement them.
<br>I like the idea of a transformation but maybe like this:<br>&nbsp;&nbsp; $var(step_count) = $(avp(s:list){ary.count})<br>&nbsp;&nbsp; while ( $var(step_count) != 0 ) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $var(working_var) = $(avp(s:list){ary.index,$var(step_count)});
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # do some stuff on this reverse process list.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # also we are not deleting list items to get to other list items.<br>&nbsp;&nbsp; }<br>&nbsp;and later used like... <br>&nbsp;&nbsp; $var(step_count) = $(di{ary.count}); # if $di was a list/array of all the Diversion headers
<br>&nbsp;&nbsp; # same as in avp example above with other PV that could be lists/arrays<br><br>Also as the original email for this conversation stated, we need a {s.count,seperator} to compliment {s.select,index,seperator}<br><br>
Thanks<br>Dave<br><br><div><span class="gmail_quote">On 12/13/07, <b class="gmail_sendername">Henning Westerholt</b> &lt;<a href="mailto:henning.westerholt@1und1.de">henning.westerholt@1und1.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Dave,<br><br>i think the best way to implement this would be as a transformation, see<br><a href="http://www.openser.org/dokuwiki/doku.php/transformations:devel">http://www.openser.org/dokuwiki/doku.php/transformations:devel
</a><br><br>You could implement a operation like $avp(..){s.count} that return the wanted<br>number.<br><br>Cheers,<br><br>Henning<br></blockquote></div><br>