Tina,<br><br>Yes, it seems that this a bug in expr object due to a boundary condition. Expr was written to handle 10 expressions, and print a warning if more expressions were supplied, but the code can only handle 8 expressions right now. I am not setup to compile for windows. If you (or anybody else who may have run into this problem and needs a fixed version) can compile for windows, I can send you corrected source files, otherwise I suggest that you edit your file with an editor and drop one of the expressions from the expr list (the first one? which is only passing the first inlet).
<br><br>I will fix this shortly and put out a new version (for linux and darwin) on my website.<br><br>cheers,<br>Shahrokh.<br><br>Message: 10<br>Date: Wed, 07 Jun 2006 01:38:47 -0500<br>From: &quot;Tina Shah&quot; &lt;<a href="mailto:surreal8@hotmail.com">
surreal8@hotmail.com</a>&gt;<br>Subject: [PD] pd crashes when using expr<br>To: <a href="mailto:pd-list@iem.at">pd-list@iem.at</a><br>Message-ID: &lt;BAY102-F21E4AA36B45DE413CCA530<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<a href="mailto:998A0@phx.gbl">998A0@phx.gbl</a>&gt;<br>Content-Type: text/plain; charset=&quot;us-ascii&quot;<br><br>hi list, i'm trying to use the expr object in my little app to figure out<br>the range of incoming h values (hsv) - 
i.e.- if ($f1 &gt; 0 &amp;&amp; $f1 &lt; 0.05, 1,<br>0);&nbsp;&nbsp;right now i have 9 of these types of if statements.&nbsp;&nbsp;when running the<br>program things don't work properly.&nbsp;&nbsp;pd crashes when i go to edit the expr<br>part or when i destroy the gem window.&nbsp;&nbsp;also while running the app i get
<br>these errors:<br>error: expr: ex_eval: unexpected type 0<br>expr: bang: unrecognized result 881328160<br>the file attached is the file i'm working with.&nbsp;&nbsp;please let me know if<br>anyone has any ideas of what might be wrong.&nbsp;&nbsp;i'm using windows xp, pd .39-2
<br>and gem .90.<br><br>thanks!<br><br>-tina<br></blockquote><br><br>Shahrokh Yadegari<br>Theatre and Dance Department<br>University of California, San Diego<br>Center for Research in Computing and the Arts (CRCA)<br>California Institute for Telecommunications and Information Technologies (Cal-IT2)
<br><a href="http://crca.ucsd.edu/~yadegari">http://crca.ucsd.edu/~yadegari</a><br>Email: <a href="mailto:sdy@ucsd.edu">sdy@ucsd.edu</a><br>Tel: (858) 822-4113<br>Fax: (858) 534-1080