PC Logo Wiki
Advertisement

Syntax

FORWARD number

FD number

Explanation

FORWARD moves the turtle forward the distance specified by its input. See also [[B

This is a FORWARD command example. It executes the "FORWARD 30" command.

? FORWARD 30

The turtle moves forward 30 steps.












? DRAW FORWARD -30

This is a FORWARD command example. Its executes the "DRAW FORWARD -30" command.

The turtle moves backwards 30 steps.

Advertisement