SETPC

llSyntax

SETPC number

(SETPC)

Explanation

SETPC selects a pen color for all active turtles. The color number is an index into the current pallet. The first 16 colors are predefined as follows: If SETPC is used without inputs, a dialog box pops up, allowing you to pick a color. Use PENCOLOR to obtain the current pen color.

Example

? FD 10

? SETPC 2

? FD 10

?