key value pairs?

I have a list of key, values
what’s the best way to get the key given a the value?

Sorry, misread your post.

Either use two dictionaries with key,value and value,key (tricky if you have duplicate values) or iterate the keys one at a time using http://developer.xojo.com/dictionary$Keys this wont go through the keys in the order they were added but will go through them all. With http://developer.xojo.com/dictionary$Key you can iterate them in order.

http://developer.xojo.com/pair

Isn’t/wasn’t there a map object?