Re: javascript dict.get something::else?

Forums > Javascript > javascript dict.get something::else?
Oct 02 2012 | 9:28 pm

Thanks both for your help. I’m still struggling with this problem and wondering if you’d be able to clarify further.

I’ve tried looking at the first suggestion but either it hasn’t worked out or I haven’t been able to figure out how to use or adapt it. Please could you let me know?

I’m still not actually sure if I’m supposed to be able to use dict.get with an argument formatted like so:


I’ve been playing around a bit and trying to work out where it might be going wrong and have come up with the attached patch, just looking at where the process ends up by looking at the type and the keys if it is a dictionary. Rather than the result I’m expecting, it appears to be returning a reference to the dictionary containing it.


Subscribe to the Cycling ’74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required