On Saturday 25 July 2009 17:24:31 budi prakosa wrote:
hi all is there any object for string array in pd?
thanks!
question is ambiguous, but will try anyhow..
if you are looking to break up a symbol (string) into its many characters then you best look at moocows [any2bytes] external which will create a list of its decimal makeup, you could use something like the list-abs lib to sort the results, and [bytes2any] to put it all back together again.
if you want a symbol array check the archives for frank barknecht's [symbolarray]
http://lists.puredata.info/pipermail/pd-list/2009-04/069666.html
for an associative array (hash table) for lists, symbols or floats try chris mccormicks [s-map] abstriaction:
http://lists.puredata.info/pipermail/pd-list/2008-03/060712.html
or i put together a similar package:
http://puredata.info/Members/dmotd/list-array/view
or claude heiland-allens's list hashing (not quite as complete but very fast)
http://lists.puredata.info/pipermail/pd-list/2009-04/069704.html
cheers,
dmotd