Forums > MaxMSP

creating an empty dictionary inside another dictionary

February 11, 2014 | 6:44 am

I have a dictionary. It will contain a list of more dictionaries, which themselves will contain key value pairs.

I’d like to create the subdictionary first, then create the key value pairs.

But so far I can only see how to create a subdictionary with something in it. So I create it with a temporary dummy item, which I immediately remove. See this example:


— Pasted Max Patch, click to expand. —


Is there a way to create an empty subdictionary directly?

Viewing 1 post (of 1 total)

Forums > MaxMSP