PC Logo Wiki
Advertisement

Syntax

PENREVERSE

PX

Explanation

PENREVERSE reverses the pen and background color when the turtle moves, drawing where there are no lines and erasing previously drawn lines.

The combination creates many possible effects. The exact appearance of the screen depends on the pen and background colors.

DRAW puts the pen down. See also PENDOWN, PENUP and PENERASE.

Example

This is a PENREVERSE command example. Its executes "PX SETPC 15 FD 30" command.

? PX SETPC 15 FD \

? 30

?

Advertisement