Hallo, padawan12 hat gesagt: // padawan12 wrote:
Arrays are not the best thing to use for data persistence. Messages constructed using "set" and then textfiles are preferable. Alexandre Quessy just posted a method yesterday that implements a per patch memory. You might like to study the "bag'o'tricks" GOP abstractions to see another effective example of doing this.
Personally I think, saving state *inside* a patch is The Wrong Thing anyway, except for trivial things like [osc~ 440] or so. Anything else should go in a seperate file. I sometime compare this to using a text editor like Word or Emacs: It isn't useful to be able to only edit one single text document with software like this, so you save every text into a seperate file, but use the same program to edit them all.
Frank Barknecht _ ______footils.org_ __goto10.org__