<div dir="ltr">moin Alexandros, <div><br></div><div>looks like you're creating an "any" message with the selector "float", which iirc pd interprets as it does the output of a [float] object. without further arguments (the float value), the float's value defaults to zero.  if you really want the symbol "float", prefix it with the selector "symbol" or "list".</div><div><br></div><div>happy solstice,</div><div>  Bryan / moocow</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 24, 2015 at 7:00 PM, Alexandros Drymonitis <span dir="ltr"><<a href="mailto:adrcki@gmail.com" target="_blank">adrcki@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>I'm trying several lists from symbols with [moocow/bytes2any] and the following behavior seems a bit strange to me.<br></div>The following symbols, converted to numeral lists behave fine:<br></div>a_float, a_string, string, a_bang, bang<br><br></div>The corresponding lists sent to [bytes2any] are:<br>97 95 102 108 111 97 116<br>97 95 115 116 114 105 110 103<br>115 116 114 105 110 103<br>97 95 98 97 110 103<br>98 97 110 103<br><br></div>If I send these lists to [bytes2any] it will output the correct messages (a_float, a_string, etc.). The symbol "float" though, which is converted to the list "102 108 11 97 116", when sent to [bytes2any] produces a 0 out the left outlet of the object.<br><br></div>I have attached a patch that demonstrates this. The symbols are converted to lists with [list fromsymbol]. I could use [list tosymbol] to create symbols from the lists, but I want to test [bytes2any] in this case.<br><br></div>Is this behavior expected or is it a bug?<br></div>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Bryan Jurish                           "There is *always* one more bug."<br><a href="mailto:moocow.bovine@gmail.com" target="_blank">moocow.bovine@gmail.com</a>         -Lubarsky's Law of Cybernetic Entomology<br></div></div>
</div>