A very simple pure mxs implementation of a dictionary to store key-value pairs.
It is somewhat "fake" in that it is not using any hashing but an internal array of tuples. Which means the bigger it gets the slower it will be to work with. So its usage is probably quite limited. If you however desperately need a dictionary data type and can't use any fancy dotNet, this should work down to Max version 9.
Example usage:
-- Either copy/paste into your script or bundle the file with your main script file and use fileIn "dict.ms"-- or include "dict.ms"