A line follower problem.

senLeft;senRight;senBack means that the sensors see black
whiteLeft;whiteRight;whiteBack means that the sensors see white

I want to do this:


Left(150,150); //turn left

until(senRight)[/b] //turn left until senRight
the undrlined code is what i don't understand how to do.
I have been trying to do this for weeks ;(


You have to call the function, with these ()

Edit: And now you've edited your post to make my response look stupid.

Post your code.
Use code tags.


i edited, so that everyone wold understand what i am asking

There's no until command. There is while. Go look at while.