FENCE

Synopsis
FENCE
Description

Tells the turtle to enter "fence" mode. In fence mode, when the turtle is asked to move past the boundary of the drawing surface, it moves as far as it can and then stops at the edge with an "out of bounds" error message.

Compare this command with WRAP, WINDOW, and PERSPECTIVE.

Example
FENCE
FORWARD 10000
turtle out of bounds
FORWARD 10
turtle out of bounds
BACK 500

SourceForge.net Logo