[PD] Array with text named indices?

saint saintidle at yahoo.com
Thu Mar 11 15:18:27 CET 2010


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.


      




More information about the Pd-list mailing list