[PD] reading line by line with [textfile]

Frank Barknecht fbar at footils.org
Fri Jul 7 07:55:33 CEST 2006


Hallo,
patco hat gesagt: // patco wrote:

> I am trying to read the attached file with [textfile] line by line,
> but it outputs the whole file instead.
> 
> This file has more than nine hundred lines so my cpu doesn't like it.
> 
> I've analysed the file and compared it with other files where the 
> line-by-line works and see no difference, they both have the ascii code
> for carriage return.
> 
> So, what is the magical trick to add to my file for not blowing the cpu?

[read club1.txt cr(

[textfile] seperates lines with ";" per default, "cr" makes it use the
newline character instead. 

Btw: For a patch reading an obj-file into a textfile then into
Gem-primTri objects see the archives from mid-June or so. I posted one
in the thread: "GEM GOP abstractions"

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__




More information about the Pd-list mailing list