A newer version of Max is available. Click here to access the latest version of the documentation

dict.slice Reference

Split a dictionary into two dictionaries

dict.slice

Description

Use the dict.slice object to split a dictionary into two dictionaries. The first dictionary will be created from a set of keys you provide, sent to the left outlet. The remaining dictionary content will form the second dictionary, sent to the right outlet.

Discussion

Note: The colon (:) is a reserved character and is not supported in keys or values.

Arguments

None.

Attributes

keys [256 symbols]

List of keys to extract from the incoming dictionary to create the two output dictionaries

Common Box Attributes

Messages

dictionary

Arguments

name [symbol]
Name of a dictionary to be split into two dictionaries

See Also

Name Description
dict.deserialize
dict.group
dict.iter
dict.join
dict.pack
dict.print
dict.route
dict.serialize
dict.strip
dict.unpack
dict.view
dict
Dictionaries Dictionaries