<font color="#cc0000"><font>Thanks that made it work :-)<br><br>Aloha<br></font></font><br><div class="gmail_quote">On Tue, Oct 2, 2012 at 1:24 AM, Roman Haefeli <span dir="ltr">&lt;<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Mon, 2012-10-01 at 00:14 -1000, Rick T wrote:<br>
&gt; Greetings All<br>
&gt;<br>
&gt; I&#39;m trying export time to a file in the format YYYYMMDDhhmmss but it<br>
&gt; doesn&#39;t concatenate YYYY MM DD hh mm ss when I use the pack object.<br>
&gt; I can export the data to a file but how do I concatenate everything<br>
&gt; together so it outputs as  YYYYMMDDhhmmss with no spaces in-between?<br>
<br>
</div></div>You probably need to do that in two steps:<br>
1) Make sure, that all numbers have the correct number of digits<br>
2) glue everything together<br>
<br>
<br>
1)<br>
Use [makefilename %02d] to create a two digit symbol (&lt;- yeah, the<br>
output is a symbol!) with leading zeros from the incoming float.<br>
For the year you need [makefilename %04d] in order to create a<br>
four-digit symbol. You get the idea.<br>
<br>
2)<br>
Use [pack s s s s s s] to put everything into a single list message.<br>
Then you get rid of the spaces with a message box like this:<br>
[symbol $1$2$3$4$5$6(<br>
<span class="HOEnZb"><font color="#888888"><br>
Roman<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
<a 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>
</div></div></blockquote></div><br>