Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
Asked — Edited

Array $Xray[$N]=1 Makes An Error

Hi,

Am I doing something wrong?

This code is producing this error in the latest version of EZ builder:
Error on line 41: Input string was not in a correct format.
my line with the $yray[$n]=2.12 creates the above error

The arrays with static numbers as in $xray[1] = 3.14 work
[]
$n=0
definearray($xray,5)
definearray($yray,5)
definearray($zray,5)
$n=$n+1
$xray[1] = 3.14
$yray[$n]=2.12
$zray[3]=2.345
[/code]

Thanks mates,

Bill


ARC Pro

Upgrade to ARC Pro

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.

AI Support Bot
Related Content
Synthiam
PRO
Synthiam
#1  
I'll look into it right away. Thanks!
PRO
Synthiam
#2  
fixed in next release:D