[PD] Concatenating floats
IOhannes m zmoelnig
zmoelnig at iem.at
Mon Oct 1 13:21:32 CEST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2012-10-01 12:35, i go bananas wrote:
> if you just use $1 for something like 07, then it will cut off the
> leading zero (which in this case, you need)
>
> so might be best just to split everything into individual floats,
> like:
>
> [ 1 9 7 8 0 7 2 9 0 9 3 0 2 1 (
>
or use [makefilename %02d] to generate a 2-character symbol with
leading 0s
[1978 7 29 9 30 21(
|
[unpack 0 0 0 0 0 0]
| | ...
[makefilename %04d] [makefilename %02d] ...
| | ...
[unpack s s s s s s]
|
[symbol $1$2$3$4$5$6(
|
mfasr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlBpfLoACgkQkX2Xpv6ydvTbjACfZYiTWUIkwIF6BtbQTajzqkrg
JB4AoIV8zrtZ2XQ+EXFXRp93sErEPlUk
=U+fv
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2320 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121001/d1899292/attachment-0001.bin>
More information about the Pd-list
mailing list