Forums > MaxMSP

Creating a list of actions

Nov 27 2012 | 2:39 pm


I want to create a list of actions, i.e.:

1, 23, 45
3, 23, 55

^ the above is a list of two items, both of which contain three elements.

What object can I use to store these items? I was thinking maybe umenu.

Also, is it possible to output a selected line which is determined by an int?


Nov 27 2012 | 3:35 pm

[coll] is the immediate answer (simple setting, retrieving of values; persist data in patch is best available persistence choice)
other approaches:

[dict] (more involved in setting, querying and retrieving data,better data structure available, better persistence possibilities.)

embedded SQLdatabase!… the builtin db could be used, or NickRothwell’s net.loadbang-SQL HSQLDB (both give cleaner & more advanced retrieval&setting with SQL…&good persistence choices)

(coll can do what u want quite well, just a pain to not have easy persistence external to the object in patcher.)

…just ruminatin’ at work…take with grain of…sand….YMMV, Good Luck!

Nov 27 2012 | 3:35 pm

Coll is just what I needed, thanks boss.

Nov 27 2012 | 3:39 pm


Is it possible to program Coll to open a text file?

ie: create a message object and "open file.txt"?

also, if I wanted the user to be able to specify which text object he wants to open, how would I give the user the opportunity to do this? Is there are text box object?

If so, how do I route the output of that text the user enters as part of the message box’s message?

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP