[PD] textfile insert and delete

B. Bogart ben at ekran.org
Mon May 30 17:17:08 CEST 2005


Try using pool instead of qlist, textfile.

Much more control, hierachies, and maybe too many options. ;)

B>

thewade wrote:
> Hi again my favorite list!
>
> I was wondering if there was an easier way to insert and
> delete single entries from a textfile/qlist list?
>
> As of now I do the following have a main textfile and a
> temporay textfile. To insert or delete an entry I step
> through each of the entries in the main textfile and add
> thoes to the temp textfile. If I am deleting an entry I
> skip copying that entry into the temp textfile. If I am
> inserting an entry I add it to the temp textfile at the
> appropriate place. once all entries have been copied
> from the main to the temp textfile I clear the main file,
> read the values back from the temp textfile into the main
> textfile, and clear the temp textfile.
>
> It would be so much easier and less computationaly
> intensive to do an insert and delete within the c code,
> wouldnt it?
>
> Thanks for the help with my settings automation patch!
> -thewade
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20050530/d66a9463/attachment.pgp>


More information about the Pd-list mailing list