<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px">Also-- since you have assignment operator now, would it make sense to have an iterator function for garrays?<br><div><br><span></span></div><div id="yui_3_16_0_1_1454777309747_2921"><span>Something like:</span></div><div dir="ltr" id="yui_3_16_0_1_1454777309747_2922"><span id="yui_3_16_0_1_1454777309747_3006">iterate(array_name, expression), where expression is evaluated for each element of the array.  Maybe an i() function to get the iteration <br></span></div><div id="yui_3_16_0_1_1454777309747_3043" dir="ltr"><span id="yui_3_16_0_1_1454777309747_3006">number.</span></div><div id="yui_3_16_0_1_1454777309747_3077" dir="ltr"><br><span id="yui_3_16_0_1_1454777309747_3006"></span></div><div id="yui_3_16_0_1_1454777309747_3078" dir="ltr"><span id="yui_3_16_0_1_1454777309747_3006">-Jonathan</span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Saturday, February 6, 2016 10:48 AM, Jonathan Wilkes <jancsika@yahoo.com> wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div id="yiv4052174242"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div id="yiv4052174242yui_3_16_0_1_1454773374062_3227">Also, since you mentioned documentation:<br clear="none"></div><div dir="ltr" id="yiv4052174242yui_3_16_0_1_1454773374062_3223"><a rel="nofollow" shape="rect" id="yiv4052174242yui_3_16_0_1_1454773374062_3221" target="_blank" href="https://github.com/pd-l2ork/pd/blob/master/doc/pddp/expr-help.pd">https://github.com/pd-l2ork/pd/blob/master/doc/pddp/expr-help.pd</a></div><div dir="ltr" id="yiv4052174242yui_3_16_0_1_1454773374062_3226"><a rel="nofollow" shape="rect" id="yiv4052174242yui_3_16_0_1_1454773374062_3263" target="_blank" href="https://github.com/pd-l2ork/pd/blob/master/doc/pddp/expr%7E-help.pd">https://github.com/pd-l2ork/pd/blob/master/doc/pddp/expr%7E-help.pd</a></div><div dir="ltr" id="yiv4052174242yui_3_16_0_1_1454773374062_3284"><a rel="nofollow" shape="rect" id="yiv4052174242yui_3_16_0_1_1454773374062_3283" target="_blank" href="https://github.com/pd-l2ork/pd/blob/master/doc/pddp/fexpr%7E-help.pd">https://github.com/pd-l2ork/pd/blob/master/doc/pddp/fexpr%7E-help.pd</a></div><div dir="ltr" id="yiv4052174242yui_3_16_0_1_1454773374062_3383"><a rel="nofollow" shape="rect" id="yiv4052174242yui_3_16_0_1_1454773374062_3363" target="_blank" href="https://github.com/pd-l2ork/pd/blob/master/doc/pddp/all_about_expr_and_value.pd">https://github.com/pd-l2ork/pd/blob/master/doc/pddp/all_about_expr_and_value.pd</a><div dir="ltr" id="yiv4052174242yui_3_16_0_1_1454773374062_3363"><a rel="nofollow" shape="rect" id="yiv4052174242yui_3_16_0_1_1454773374062_3457" target="_blank" href="https://github.com/pd-l2ork/pd/blob/master/doc/pddp/all_about_expr_functions.pd">https://github.com/pd-l2ork/pd/blob/master/doc/pddp/all_about_expr_functions.pd</a></div><div dir="ltr" id="yiv4052174242yui_3_16_0_1_1454773374062_3462"><a rel="nofollow" shape="rect" id="yiv4052174242yui_3_16_0_1_1454773374062_3479" target="_blank" href="https://github.com/pd-l2ork/pd/blob/master/doc/pddp/all_about_expr_if.pd">https://github.com/pd-l2ork/pd/blob/master/doc/pddp/all_about_expr_if.pd</a></div><div dir="ltr" id="yiv4052174242yui_3_16_0_1_1454773374062_3510"><a rel="nofollow" shape="rect" id="yiv4052174242yui_3_16_0_1_1454773374062_3528" target="_blank" href="https://github.com/pd-l2ork/pd/blob/master/doc/pddp/all_about_expr_multiline.pd">https://github.com/pd-l2ork/pd/blob/master/doc/pddp/all_about_expr_multiline.pd</a></div><div dir="ltr" id="yiv4052174242yui_3_16_0_1_1454773374062_3547"><br clear="none"></div><div id="yiv4052174242yui_3_16_0_1_1454773374062_3462">-Jonathan<br clear="none"></div></div><div id="yiv4052174242yui_3_16_0_1_1454773374062_3225"><span></span></div> <div class="yiv4052174242qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="yiv4052174242yahoo_quoted" style="display:block;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div class="yiv4052174242yqt4984388266" id="yiv4052174242yqt37550"><div dir="ltr"><font face="Arial" size="2"> On Friday, February 5, 2016 8:45 PM, Jonathan Wilkes via Pd-list <pd-list@lists.iem.at> wrote:<br clear="none"></font></div>  <br clear="none"><br clear="none"> <div class="yiv4052174242y_msg_container"><div id="yiv4052174242"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">Sounds great!<br clear="none"><div id="yiv4052174242yui_3_16_0_1_1454704881443_21594"><span></span></div> <div class="yiv4052174242qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="yiv4052174242yahoo_quoted" style="display:block;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div class="yiv4052174242yqt0266455485" id="yiv4052174242yqt13468"><div dir="ltr"><font face="Arial" size="2"> On Friday, February 5, 2016 8:37 PM, Shahrokh Yadegari <sdy@ucsd.edu> wrote:<br clear="none"></font></div>  <br clear="none"><br clear="none"> <div class="yiv4052174242y_msg_container"><div id="yiv4052174242"><div dir="ltr"><div class="yiv4052174242gmail_extra"><div><div>Dear All,</div><div><br clear="none"></div><div>Attached is a pre-release of Expr 0.5 compiled for Mac os x (compiled on 10.9) and Linux (compiled on an older Cent OS). I have also attached Alexandre's big pd patch which listed the issues, with my comments.</div><div><br clear="none"></div><div>Hopefully I have addressed most of the issues that were brought up and now I am working on a more complete documentation of Expr objects. One open issue is that expr still supports no more than 10 expressions.</div><div><br clear="none"></div><div>I have provided a mechanism for local variables and abstraction substitutions ($0 and $1, $2, etc.) to work. Also, one hopefully useful new feature in V0.5 is the assign  '='  operator. Now you can use expr to assign to "value"s and into arrays. So if you have a variable called 'count'</div><div><br clear="none"></div><div>"value count"</div><div><br clear="none"></div><div>"expr count = count + 1"</div><div><br clear="none"></div><div>will implement a counter, raising the value of count with every "bang"</div><div><br clear="none"></div><div>You can also change values of arrays through the usual syntax.</div><div><br clear="none"></div><div>"expr array1[5] = $f1"</div><div><br clear="none"></div><div>will set the sixth value (counting zero based) of the array "array1" to the incoming float value on inlet 1.</div><div><br clear="none"></div><div>I will write a more informative and comprehensive release notes along with the documentation when I pass the sources to Miller. However, I have made a few changes to the parser and I am looking for alpha-testers who can run the code and let me know if any bugs are found, specially in parsing of complex expressions. </div></div><div><br clear="none"></div><div>I look forward to hearing from whoever uses these objects. Please let me know if you find any bugs. (NOTE: you need to create the links for expr and fexpr~ to get the new version for those as well.)</div><div><br clear="none"></div><div>cheers,</div><div>Shahrokh</div><div><br clear="none"></div>
</div></div></div><br clear="none">_______________________________________________<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:Pd-list@lists.iem.at" target="_blank" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br clear="none"><br clear="none"><br clear="none"></div></div>  </div> </div>  </div></div></div></div><br clear="none"><div class="yiv4052174242yqt0266455485" id="yiv4052174242yqt26299">_______________________________________________<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:Pd-list@lists.iem.at" target="_blank" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br clear="none"></div><br clear="none"><br clear="none"></div></div>  </div> </div>  </div></div></div></div><br><br></div>  </div> </div>  </div></div></body></html>