Arrays, in and out of the JS object?

Aug 14, 2013 at 5:07pm

Arrays, in and out of the JS object?


Most importantly in. If I have what max says is a list, how can I pass it into a function stored in my js object as an array? Especially in cases where the function takes multiple parameters, and the array is not the first parameter?

Aug 14, 2013 at 5:26pm

Okay, got it.

In max use a tosymbol on the list.

In your javascript, use a str.split(” “);

Maybe helping future someones.

Aug 18, 2013 at 2:21am

You should look at the list and anything methods.

Aug 29, 2013 at 4:03pm

How can exercise discretion between inlets and message types, for instance if I want to handle a list only coming in on the second inlet?

Aug 29, 2013 at 5:02pm

You can use ‘this.inlet’ property.


Sep 6, 2013 at 4:48am

Very cool, thank you!


You must be logged in to reply to this topic.