Forums > MaxMSP

Displaying words out of a coll?

April 22, 2013 | 12:12 pm

I have a coll which has stored in it a list of words. I want max to randomly display one of the words in the coll onscreen. However, I can’t find a way to do the displaying part of this. All the things like text box require a "set" message sent to them which doesn’t itself seem to take an argument which might contain the word which I want to display. Is there anything that can do this? Where I can just get the input out of my coll and display it simply on screen as text?

(Also whenever I get my word out of coll into a message box it is prefaced by the word "symbol"? – any ideas why this might be happening?)


April 22, 2013 | 12:27 pm

Hi there,

This should do it, if not let me know!

– Pasted Max Patch, click to expand. –

April 22, 2013 | 12:37 pm

Here’s a slightly better patch that can sort float, ints, and symbols.

– Pasted Max Patch, click to expand. –

April 22, 2013 | 12:47 pm

There are many ways to do it

`

– Pasted Max Patch, click to expand. –

April 22, 2013 | 1:06 pm

Thanks so much everyone.


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