RoBOTL

TurnLeft instruction


TurnLeft ;

This instruction rotates the robot counter-clockwise 90 degrees (to the left) while remaining on the same grid square.

If the robot turns to the left, it would change its facing direction from

depending on which way it was facing before the TurnLeft operation. Note that there is no way to turn the robot to the right except by performing 3 TurnLeft instructions.


The TurnLeft instruction can also be specified as turn_left or turnleft.


Other basic instructions:


You can also go:

Created on 16 June 1995
Last revised 20 August 1996
Copyright ©1995,1996 Walter S. Ching, n1hbr@ma.ultranet.com