Hi,
Is it possible to store and delete lines in the [textfile], like [cyclone/coll] ?
It could be an interesting feature to use it as a "multi-data" preset storage (symbol, float, integer) for instance. With [coll] it is very handy, but I though about to implement it into Pd Vanilla.
You can do that with the newer [text] object.
cheers Miller On Fri, Sep 22, 2017 at 11:11:24PM +0200, Jérôme Abel wrote:
Hi,
Is it possible to store and delete lines in the [textfile], like [cyclone/coll] ?
It could be an interesting feature to use it as a "multi-data" preset storage (symbol, float, integer) for instance. With [coll] it is very handy, but I though about to implement it into Pd Vanilla.
-- Jérôme Abel http://jeromeabel.net http://reso-nance.org
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Wounderful!
It looks like the same design than [list].
I saw the help few weeks ago, but I was quite lost. We read/write/set/get data with 3 differents objects instead of messages connected the same object. It makes sense, we can set and access data anywhere.
Best.
j.
Le 22/09/2017 à 23:23, Miller Puckette a écrit :
You can do that with the newer [text] object.
cheers Miller On Fri, Sep 22, 2017 at 11:11:24PM +0200, Jérôme Abel wrote:
Hi,
Is it possible to store and delete lines in the [textfile], like [cyclone/coll] ?
It could be an interesting feature to use it as a "multi-data" preset storage (symbol, float, integer) for instance. With [coll] it is very handy, but I though about to implement it into Pd Vanilla.
-- Jérôme Abel http://jeromeabel.net http://reso-nance.org
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
If i load a text file containing commas with the 'read -c ...' message, using [text delete] doesn't completely delete a line with comma but the words before it (and the comma). According to the help, it should delete the whole line although in Pd commas are used to separate messages.
Is it a bug or the help file should be updated ? ++
Jack
I forgot : This is on Pd version 0.48.1 and Ubuntu 17.10. A small patch is attached. ++
Jack
Le 10/03/2018 à 15:23, Jack a écrit :
If i load a text file containing commas with the 'read -c ...' message, using [text delete] doesn't completely delete a line with comma but the words before it (and the comma). According to the help, it should delete the whole line although in Pd commas are used to separate messages.
Is it a bug or the help file should be updated ? ++
Jack
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Idem for [text size]. ++
Jack
Le 10/03/2018 à 15:25, Jack a écrit :
I forgot : This is on Pd version 0.48.1 and Ubuntu 17.10. A small patch is attached. ++
Jack
Le 10/03/2018 à 15:23, Jack a écrit :
If i load a text file containing commas with the 'read -c ...' message, using [text delete] doesn't completely delete a line with comma but the words before it (and the comma). According to the help, it should delete the whole line although in Pd commas are used to separate messages.
Is it a bug or the help file should be updated ? ++
Jack
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
[text] interprets commas as end-of-lines, so this would seem like normal behavior to me.
If you want to display a comma in a text file, you can use this unicode charater --> ‚ which won't break the line (assuming that it copies correctly through this email). ________________________________ From: Pd-list pd-list-bounces@lists.iem.at on behalf of Jack jack@rybn.org Sent: 10 March 2018 14:30 To: pd-list@lists.iem.at Subject: Re: [PD] text delete doesn't clear a line containing a comma
Idem for [text size]. ++
Jack
Le 10/03/2018 à 15:25, Jack a écrit :
I forgot : This is on Pd version 0.48.1 and Ubuntu 17.10. A small patch is attached. ++
Jack
Le 10/03/2018 à 15:23, Jack a écrit :
If i load a text file containing commas with the 'read -c ...' message, using [text delete] doesn't completely delete a line with comma but the words before it (and the comma). According to the help, it should delete the whole line although in Pd commas are used to separate messages.
Is it a bug or the help file should be updated ? ++
Jack
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
For a regular user of Pd, definitely. But for beginners using the explicit objet [text] and seeing "text delete deletes the nth line.", they will think "line of my imported text". The word 'line' is very ambiguous here. ++
Jack
Le 10/03/2018 à 15:44, Liam Goodacre a écrit :
[text] interprets commas as end-of-lines, so this would seem like normal behavior to me.
If you want to display a comma in a text file, you can use this unicode charater --> ‚ which won't break the line (assuming that it copies correctly through this email).
*From:* Pd-list pd-list-bounces@lists.iem.at on behalf of Jack jack@rybn.org *Sent:* 10 March 2018 14:30 *To:* pd-list@lists.iem.at *Subject:* Re: [PD] text delete doesn't clear a line containing a comma  Idem for [text size]. ++
Jack
Le 10/03/2018 à 15:25, Jack a écrit :
I forgot : This is on Pd version 0.48.1 and Ubuntu 17.10. A small patch is attached. ++
Jack
Le 10/03/2018 à 15:23, Jack a écrit :
If i load a text file containing commas with the 'read -c ...' message, using [text delete] doesn't completely delete a line with comma but the words before it (and the comma). According to the help, it should delete the whole line although in Pd commas are used to separate messages.
Is it a bug or the help file should be updated ? ++
Jack
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list