FANDOM


Syntax

FENCE

Explanation

FENCE prevents the turtle from moving beyond the edge of the graphics window. If you try to move the turtle off the window, it does not move and Logo displays a message.

See also WRAP and WINDOW.

Example

Pc logo 22

This is a FENCE command example. Its executes "FENCE RT 45 FD 1000" command. PC Logo error: Attempt to move the turtle outside the fence.

? FENCE

? RT 45 FD 1000

Attempt to move the \

turtle outside the \

fence.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.