Forums > MaxMSP

Add nested dicts to stored files

April 5, 2012 | 11:05 am

Hi all.

I am trying to dynamically create a nested dict (containing speaker groups) and have been able to create the nested dict with the dict.pack method.

However when saving the dict as a file and reopening it, then wanting to add more nested dicts to the master dict, the data in this master dict gets overwritten. Only the new dict remains.

Does anyone know a way to avoid this? I want to be able to add more dicts to the master dict after having saved it as a file closed and reopened the patch.

Thank you!

All the best
Thor


April 5, 2012 | 6:08 pm

Hi Thor,

Could you post a patch and some steps to reproduce what you are seeing? I’d be happy to take a look and offer suggestions.

-Ben


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