<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>[v $0-myvalue] = associate the symbol "$0-myvalue" with a float value</span></div><div><span>[expr $0-myvalue] = subtract the float value associated with the symbol "myvalue" from $0</span></div><div><br><span></span></div><div><span>Therefore, [expr] should always return the value of $0 (unless you're assigning a value to "myvalue" somewhere)</span></div><div><br><span></span></div><div><span>[expr]'s parser seems only to recognize an atom as a symbol when the first character is not a number, so try the following workarounds:</span></div><div><br><span></span></div><div><span>[expr _$0myvalue]</span></div><div><span>[expr myvalue$0]</span></div><div><br><span></span></div><div><span>Both are ugly.&nbsp; If using tables you can avoid this mess by using an $s
 variable.<br></span></div><div><br><span></span></div><div><span>-Jonathan<br></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Michael Zacherl. &lt;sdiy-mz01@blauwurf.info&gt;<br><b><span style="font-weight: bold;">To:</span></b> PD list &lt;pd-list@iem.at&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, August 25, 2011 11:19 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [PD] receiving messages in [expr] ?<br></font><br><br>On 25.8.2011, at 14:43 , tim vets wrote:<br><br>&gt; something like [expr myvalue] and [v myvalue]?<br>&gt; gr,<br>&gt; Tim<br><br>great, thanks Tim!&nbsp;
 <br><br>any chance to get $0 working?&nbsp; [v $0-myvalue] is fine, [bang(--[expr $0-myvalue]&nbsp; (might be utterly wrong) delivers strange values, not even $0.<br><br>Michael.<br><br>--<br>noise chasers: <a href="http://blauwurf.at" target="_blank">http://blauwurf.at</a> <br><a href="http://soundcloud.com/noiseconformist" target="_blank">http://soundcloud.com/noiseconformist</a><br><br><br><br><br>_______________________________________________<br><a ymailto="mailto:Pd-list@iem.at" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br><br><br></div></div></blockquote></div></div></body></html>