[PD] Problem with Textfile and line with float

IOhannes m zmoelnig zmoelnig at iem.at
Wed Jun 30 10:40:00 CEST 2010

On 2010-06-30 10:27, matohawk wrote:
> Hi,
> Yes I know but the order it's important because this is a backup of a
> data structures Score.
> So I can't change the order.

in this case i would use something like:
$ sed -e 's|float|Float|g' scorefile.txt > newscorefile.txt
and use the newscorefile.txt instead of the original one.

(of course you might want to refine the sed-expression, e.g. use
's|^float |Float |' or 's|\<float\>|Float|g')

it's a limitation in Pd's parser and you currently just should not use
the symbol "float" as anything else but a selector for numbers.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100630/fdde7775/attachment.bin>

More information about the Pd-list mailing list