On Nov 3, 2011, at 4:24 AM, IOhannes m zmoelnig wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2011-11-03 03:14, Hans-Christoph Steiner wrote: >> >> You need to generate a symbol, then Pd won't strip the zeros off. You can >> do that with: >> >> [makefilename %02d] >> > > though for SSS you would need [makefilename %03d] > > >> That will give you just hh. You could do one of those per hh mm ss SSS, >> then combine them into a list and feed it thru [zexy/list2symbol :] > > i have to admit that for short fixed size list-to-symbol functionality i > would use the super cow powers of the msgbox: > > [symbol $1:$2:$3.$4( > will give you "hh:mm:ss.SSS"
Except where $1 is 01, for example, it'll give you 1:34:45.345 .hc ---------------------------------------------------------------------------- Terrorism is not an enemy. It cannot be defeated. It's a tactic. It's about as sensible to say we declare war on night attacks and expect we're going to win that war. We're not going to win the war on terrorism. - retired U.S. Army general, William Odom _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list