Forums > MaxMSP

dict – remove a key and its contents

April 14, 2013 | 4:03 pm

I’m building the delete function for a patcher that builds a small database with dict.

I’m having a hard time figuring out what seems like a very basic function here: I need to remove a specified key nested a few levels into the dict and all of its contents.

I’ve tried working with dict.strip which I think might be the key, but the documentation is pretty sparse (not complaining, just saying).



ak
April 14, 2013 | 9:40 pm

(remove your_key::your_nested_key) message sent do [dict]

– Pasted Max Patch, click to expand. –

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