Movement Joystick icon Movement Joystick Analog joystick UI to control any ARC movement panel via mouse/touch-configurable dead zone, max speed, center-reset for smooth robot motion Try it →
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 ARC: 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


Thanks mates,

Bill

ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#1  

I'll look into it right away. Thanks!

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#2  

fixed in next release:D