Hello Barry,
your variables a and b are Arrays! If you want to compare elements of the arrays you have to Access the single elements with e.g. a[5]<b[0].
What the result of a<b is? I don't know. The this.properties.mode things are only useful for the multiprocess functionality Max implemented.
I think you have to implement a multiprocess function (Standard Long) or do it manually when you only want to compare all elements of the "a" Array with one single value of "b" (b[0].
for (var i=0; i<a.length;i++) if(a[i]<b[0]) doSomething();
I hope that helps for further steps.
Have a nice day
Karsten
p.s.: out is also an Array - so use out.push(a[0]-b[0]);-)
|