PC Logo Wiki
Advertisement

Syntax

FORWARD number

FD number

Explanation

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

Pc logo 20

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

? FORWARD 30

The turtle moves forward 30 steps.












? DRAW FORWARD -30

Pc logo 21

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

The turtle moves backwards 30 steps.

Advertisement