[PD] Parsing files w/ PD: How to sort txt data

Josh Steiner josh at vitriolix.com
Mon Apr 12 23:36:04 CEST 2004


[textfile] will load in the file line by line, but you'll have to do the 
parsing yourself...

Ju'k J'unk wrote:

> Hey, I've only got a minute here, so... This should be brief. Is there 
> an example out here that inputs a .txt data file into PD and parses it 
> line by line, sorting out each string sortof like, sscanf or similar C 
> function?
>
> An example line from the txt file would be:
> #comment, etc
> my_obj: number, number, number, number, number, etc
>
> or something following a similar format. Post or point to an example 
> if you've got it.
> I gotta jet,
> L8er,
>
> Ju'k
>
> _________________________________________________________________
> Persistent heartburn? Check out Digestive Health & Wellness for 
> information and advice. http://gerd.msn.com/default.asp
>
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list



-- 
________________________________________________________________
live experimental electronic music   --   http://bluevitriol.com
independent u.s. drum'n'bass         --   http://vitriolix.com





More information about the Pd-list mailing list