gen~ and array store/retrieve

Julien Bayle's icon

Hi there,

I'm interested by storing/retrieving values in gen~ like in a "basic" multidimensional array in codebox.
I checked gen~.chopper_repeat.maxpat in the examples folder and I saw the use of Data "type".

How can I write/read vales using Data ?
Actually, in the example, it seems poke/peek are used to do that but I guess this is for the specific need of the example (it requires a buffer to be played at some point)

Can we basically write and read data ?

Thanks a lot !

Emmanuel Jourdan's icon
Max Patch
Copy patch and select New From Clipboard in Max.

@raja you can use for and while ;-)

Julien Bayle's icon
Emmanuel Jourdan's icon

@raja Thanks this was discovered and fixed for the next incremental.