coll to umenu

Charlie of Ealing's icon

Hello Maxtopia,
I have no idea why the umenu displays the contents in the wrong order after receiving the dump from the coll. I'm sure it must be simple, but I can't figure it out!! This seemed straightforward to populate the umenu, but the last item appears first.

Any hints?
Thanks so much
Charlie

Max Patch
Copy patch and select New From Clipboard in Max.


Charlie of Ealing's icon

I tried a slightly neater version with direct number messages to test the coll output, the first one either gives me a 'sym' or the last entry.
Thanks
Charlie

Max Patch
Copy patch and select New From Clipboard in Max.

Source Audio's icon

1- pack 0 sym output is wrong, becuse coll index gets first out
2- that is anyway wrong way to feed umenu from coll

use grab - because you don't want to append items to umenu
every time you recall something from coll, or ?


Roman Thilenius's icon

it might be doing it differently but that should be the most simple version for filling a menu.

objects like coll or textentry can output data which are - or which look - a bit strange. always use printit to debug.

Charlie of Ealing's icon

My humble thanks; I have learned some fascinating tips from both examples.