Sabertooth Movement Panel icon Sabertooth Movement Panel Sabertooth movement panel: control two motors via Simplified Serial with variable speed sliders, movement buttons, and serial port options. Try it →
Asked — Edited

Script Help Please

Good Morning,

I have created two arrays. I am trying to speak the contents of the arrays with the SAY command. For Example:

code SAY("This is" + $ARRAYONE[0] + "good work" + $ARRAYTWO[0]) /code

When I run the script I get the error message: Variable is in array: $ARRAYTWO[0] Which makes me think that I am trying to add. Do I have the syntax correct?


ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

#9  

Ok, converting them to a "regular" string worked. Why?

#10  

Not sure dude... Maybe DJ can answer that... Although my way worked, maybe we are missing something simple and there is actually a better way to do this...

#11  

How do you trigger this thread so that he can see it and need to chime in on it?

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#12  

He will see it, he is like Santa, he sees everything:)