| SETPC | |||||||||||||||||||||||||||||||||
| Syntax | SETPC number SETPC colorword SETPC [Red Green Blue] |
||||||||||||||||||||||||||||||||
| Explanation | SETPC sets a pen color for all active
turtles. The first 16 colors are predefined as follows:
SETPC accepts color numbers from 0 through 255 and assigns colors compatible with the PC Logo environment. You may also use one of the predfined color names or a list of three RGB values as input. Use PENCOLOR to obtain the current pen color. |
||||||||||||||||||||||||||||||||
| Examples | ![]() ![]() |
||||||||||||||||||||||||||||||||