Page 1 of 1

Me.Problem.Again.(Solved)

Posted: Mon Mar 09, 2015 8:20 am
by Parki
http://www.dsprobotics.com/support/viewforum.php?f=23
Here at 153 page has a Ruby code.(look at the file below)
I copyd(how to write it right?) the code and it's doesn't work.
What am I doing wrong?

Re: Me.Problem.Again.

Posted: Tue Mar 10, 2015 1:30 am
by tulamide
You named the input exactly the same as the variable. They can't both have the same name. Rename the variable and it will work.

Re: Me.Problem.Again.

Posted: Tue Mar 10, 2015 10:01 am
by Parki
Yep, that's works. Thank you.