1

I have been programming in basic for ~30 years. I want a translation of the following code into EV3 Basic:

function index( x , y )

  return x + y * ( maxx , + 1

end function

sub look

  for i = 0 to 5

    motor.start( "bc" , 75 , 75 , false )

    program.delay( .025 sec )

  next i

  motor.stop( "bc")

end sub

How do you do this in ev3basic?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.