<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Convert a float to a message]]></title><description><![CDATA[<p>EDIT<br />
I should have asked a more detailed question which is this:</p>
<p>I need to take a float like |329| and make the message |@329[</p>
<p>I can't find a way to do this without introducing a space between the @ and the number.</p>
<p>Is there a way in Vanilla?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10418/convert-a-float-to-a-message</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 22:59:33 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/10418.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 Nov 2016 19:38:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Convert a float to a message on Wed, 16 Nov 2016 20:14:28 GMT]]></title><description><![CDATA[<p>EDIT<br />
I should have asked a more detailed question which is this:</p>
<p>I need to take a float like |329| and make the message |@329[</p>
<p>I can't find a way to do this without introducing a space between the @ and the number.</p>
<p>Is there a way in Vanilla?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10418/convert-a-float-to-a-message</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10418/convert-a-float-to-a-message</guid><dc:creator><![CDATA[nuromantix]]></dc:creator><pubDate>Wed, 16 Nov 2016 20:14:28 GMT</pubDate></item><item><title><![CDATA[Reply to Convert a float to a message on Wed, 16 Nov 2016 20:07:35 GMT]]></title><description><![CDATA[<p>A float is already a valid message in Pd.</p>
<p>Do you mean this:</p>
<pre><code>[bang(
|
[float 42]
|
[set $1(
|
[(
</code></pre>
<p>That will set the empty message box to &quot;42&quot;</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10418/convert-a-float-to-a-message/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10418/convert-a-float-to-a-message/2</guid><dc:creator><![CDATA[jancsika]]></dc:creator><pubDate>Wed, 16 Nov 2016 20:07:35 GMT</pubDate></item><item><title><![CDATA[Reply to Convert a float to a message on Wed, 16 Nov 2016 20:13:04 GMT]]></title><description><![CDATA[<p>Yes of course!<br />
I should have asked a more detailed question which is this:</p>
<p>I need to take a float like |329| and make the message |@329[</p>
<p>I can't find a way to do this without introducing a space between the @ and the number.</p>
<p>Editing the first post to reflect this!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10418/convert-a-float-to-a-message/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10418/convert-a-float-to-a-message/3</guid><dc:creator><![CDATA[nuromantix]]></dc:creator><pubDate>Wed, 16 Nov 2016 20:13:04 GMT</pubDate></item><item><title><![CDATA[Reply to Convert a float to a message on Wed, 16 Nov 2016 20:59:32 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/nuromantix">@nuromantix</a> said:</p>
<blockquote>
<p>Yes of course!<br />
I should have asked a more detailed question which is this:</p>
<p>I need to take a float like |329| and make the message |@329[</p>
<p>I can't find a way to do this without introducing a space between the @ and the number.</p>
<p>Editing the first post to reflect this!</p>
</blockquote>
<p>You can use implicit string concatenation in that case:</p>
<pre><code>[42(
|
[@$1(
|
[print]
</code></pre>
]]></description><link>http://forum.pdpatchrepo.info/topic/10418/convert-a-float-to-a-message/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10418/convert-a-float-to-a-message/4</guid><dc:creator><![CDATA[jancsika]]></dc:creator><pubDate>Wed, 16 Nov 2016 20:59:32 GMT</pubDate></item><item><title><![CDATA[Reply to Convert a float to a message on Wed, 16 Nov 2016 21:13:08 GMT]]></title><description><![CDATA[<p>Hmm thanks but i can't figure out how to use your example to make @42 appear in a message box…</p>
<p>I did figure out this though:</p>
<p>[7643<br />
|<br />
[symbol @$1(<br />
<br />
[set $1(<br />
|<br />
[ (</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10418/convert-a-float-to-a-message/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10418/convert-a-float-to-a-message/5</guid><dc:creator><![CDATA[nuromantix]]></dc:creator><pubDate>Wed, 16 Nov 2016 21:13:08 GMT</pubDate></item><item><title><![CDATA[Reply to Convert a float to a message on Wed, 16 Nov 2016 22:45:11 GMT]]></title><description><![CDATA[<p>you could also use makefilename probably</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10418/convert-a-float-to-a-message/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10418/convert-a-float-to-a-message/6</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Wed, 16 Nov 2016 22:45:11 GMT</pubDate></item></channel></rss>