#I need to either call a series of functions or call a function with an array.

1 messages · Page 1 of 1 (latest)

torn swallow
#

I started using the new function call mechanism. It works fine as long as I just need to make one function call. In my case (which translate user's input into a series of instructions to a robot), I need to either (1) call a series of functions or (2) a single function with an array of objects. I've tried (1), but did not work (it just calls once). I'm now trying (2) by passing an array of objects as a parameter to a function, but it does not work. I'm wondering if I am on the right track. Any suggestion or hints are welcome.