[PD] Array with text named indices?
Jack
jack at rybn.org
Thu Mar 11 15:25:55 CET 2010
[msgfile] from zexy ?
++
Jack
Le jeudi 11 mars 2010 à 06:18 -0800, saint a écrit :
> Hi all,
>
> Does anybody know of a way of storing a bunch of data in an array-style container that uses a text-based name instead of an index number to lookup values?
>
> Hopefully with a save to disk feature? (like textfile)
>
> Basically I'm looking for an object that can store something like...
>
> blahBlahBlahItem 0.5678;
> strawberryJam 700001;
> underwearForSwimming 0;
> endangeredLunchbox 1;
>
>
> It seems that I could use textfile for this but my programming is cumbersome for anything that's not just adding to the list. (i.e. changing the value of 'endangeredLunchbox' to 2.)
> And I seem to have to traverse most of the textfile until I receive a symbol match for lookup?
>
>
> Thanks in advance as always,
>
> John.
>
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list
mailing list