I have managed to make a macro which stores binary values
(attached)... but I can't figure out how to store an index or
number. Any Ideas?
Well, it took me a while... but I did it! Involved a bit of time
travel. H.G. Wells says hi;) The best part is that the only time
when it is green in debug mode is when you change the inputs.
To use it just put it in your clips. Whenever the value of the
"Store" port is set to true, it will store the number from the
"Data" port. When you set "Store" to false, it stops storing...
and starts remembering.
What you did is pretty impressive - another way is to use JavaScript
and use outputs of this patch as global variables (see the archives
of this list for examples).