PC Logo Wiki
Advertisement

Syntax

BACK number

Pc logo 4

This is the example of the BACK command. This will executes the "BACK 30" command.

BK number

BACK moves the turtle backwards the distance of its input. The heading of the turtle does not change. BACK moves the turtle in the opposite direction of FORWARD.

Pc logo 5

This is a BACK command example. This executes the "BACK -30" command.

Examples

? BACK 30

?

Turtle moves backwards 30 steps.

? BACK -30

?

Turtle moves forward 30 steps.

Advertisement