coll uses a special format to store its data, it always uses an ID, then a comma and then the message content. this has some advantages (sorting, lookup) but does not work with all textfiles. I suggest to use textfile or messagefile. or, if you want to use coll, then look at the fileformat and save your textfiles, for example like 1, first message; 2, lalalal; 3, and so on; 4, 123 40734 9831 1320487132 132; marius
Donal Carey wrote: > Hi all > > Apoligies if this is not the correct place for asking these sorts of > questions. > > Can the 'coll' object read items from a text file? > > What I want to do is have several messages stored in a textfile, load them > into coll and then output them one at a time. Is this possible, everytime I > try and load a text file into coll I get the error ... > > "coll: bad atom > error (miXed): coll: error reading text file 'C:/Documents and > Settings/Donal/Desktop/pd project/clips/masterText.txt" > > > Thanks and regards > Donal > > > ------------------------------------------------------------------------ > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
