WRAP

Synopsis
WRAP
Description

Tells the turtle to enter "wrap" mode. From now on, when the turtle is asked to move past the boundary of the FMSLogo screen window, it "wraps around" and reappears at the opposite edge of the window. The top edge wraps to the bottom edge, while the left edge wraps to the right edge. (So the window is topologically equivalent to a torus.) This is the turtle's initial mode.

Compare this command with WINDOW, FENCE, and PERSPECTIVE.

Example
WRAP
FORWARD 950
RIGHT 90
WINDOW
FORWARD 950
FORWARD 100

SourceForge.net Logo