PC Logo Wiki
Register
Advertisement

Synta

DRAW

Explanation

DRAW prepares the graphics screen for drawing by doing the following:

- Clears the screen.

- Homes the turtle.

- Shows the turtle.

- Puts the pen down.

- Sets the pen color to color 0.

- Sets the background color to color 15.

- Sets the turtle's pen width to 1.

- Resets the turtle font to the system font

- Sets to WRAP mode.

Example

Pc logo 16

This is a DRAW command example. Its executes the "DRAW TURTLEFACTS" command.

? DRAW TURTLEFACTS

Result: [0 0 0 PENDOWN 0 TRUE 1\ SYSTEM 12 0]

?

Advertisement