Newbie question on tables

Oct 15, 2009 at 7:25pm

Newbie question on tables

I have this stream of ints that I’m trying to store into a table.

What’s the easiest way to generate the incrementing index required for each stored value?

Or am I going about this the wrong way and is there a way to convert this into a list which can then be fed to the table?

Thanks in advance,

Oct 15, 2009 at 8:22pm

Check out load mode.

Sending a table the ‘load’ message will put it in load mode, which means that every incoming number will be stored in the table.

Check out the table ref for more info.

All the best,

Oct 15, 2009 at 8:23pm

That’s exactly what I was looking for.

I went thru the ref page but for some reason totally missed this.



Feb 3, 2010 at 5:02pm

I have kind of the same problem. I want to store a stream of data (integers) into a list or a table, but I don’t know beforehand, how many values the stream will contain. Thus, the zl object in group mode isn’t appropriate. Setting a table into load mode doesn’t help either, because I end up either having loads of annoying zeros and the end (if the stream was shorter than the size of the table), or the last part of the stream will be clipped away (if it was longer). What is the way to solve that problem?

Thank you beforehand

Feb 3, 2010 at 5:35pm

you CAN do this with “zl group”:

– Pasted Max Patch, click to expand. –
Feb 3, 2010 at 9:16pm

thank you ever so much. The missing detail was, that a bang message outputs the list stored so far in the “zl group” object. It works now. Thank you again.


You must be logged in to reply to this topic.