WRAP

Syntax

WRAP

Explanation

WRAP makes the turtle remain inside the graphics window no matter how large a movement command is given. Any time the turtle moves off the window borders, it wraps around the window and reappears on the opposite edge.

When Logo starts up, the default window state is WRAP.

See also FENCE and WINDOW.

Example

? WRAP

? RT 45 FD 500

?

The turtle wraps around every time it reaches the edges of the graphics window.