[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
TurnRight                Rotates the Turtle to the Right

 TurnRight(Angle : Integer);                                          [TG/TP]

    Rotates the turtle's heading clockwise by the indicated number of
    degrees. Therefore a positive Angle turns the turtle to the right the
    indicated number of degrees, while a negative Angle turns the turtle
    to the left.


           Angle    Amount (in degrees) to rotate turtle.

  -------------------------------- Example ---------------------------------

           TurnRight(90);           { turtle now faces right from before }

See Also: TurnLeft SetHeading Heading
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson