[PD] reading colors from txt file with repeat
punchikk at yahoo.com
Wed Jan 21 17:35:51 CET 2009
cool thanks, i have one more doubt , is there is a way to store 3 variable in one index of an array? how can i do if i would like to have 3 values rgb at one index? or should i use 3 arrays one per color?
--- On Wed, 1/21/09, Frank Barknecht <fbar at footils.org> wrote:
> From: Frank Barknecht <fbar at footils.org>
> Subject: Re: [PD] reading colors from txt file with repeat
> To: pd-list at iem.at
> Date: Wednesday, January 21, 2009, 3:59 AM
> punchik punchik hat gesagt: // punchik punchik wrote:
> > yes, something like that thanks, but why should i use
> arrays instead text files? is it faster?
> Yes, it's a lot faster especially with larger
> For example to read out line number 80 you would need to
> bang the
> textfile object 80 times and get 79 useless messages coming
> out of the
> textfile object. Reading array element 80 is just a simple
> lookup of
> that number - it's one of the fastest things you can do
> in Pd.
> You can probably use IOhannes's approach to load the
> textfile content
> into a set of tables once.
> Frank Barknecht Do You RjDj.me? _
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
More information about the Pd-list