PC Logo Wiki
Advertisement

Syntax

PRINTOUT procname

PRINTOUT ALL

PRINTOUT NAMES

PRINTOUT PROCEDURES

PRINTOUT CONSTANTS

PRINTOUT TITLES

PO procname

PO ALL

PO NAMES

PO PROCEDURES

PO CONSTANTS

PO TITLES

Explanation

PRINTOUT prints the names, definitions, and values specified by its input.

PRINTOUT ALL prints out all procedure titles, definitions, variable names and values, and property lists. PRINTOUT ALL can be abbreviated to PO ALL.

PRINTOUT NAMES prints out all user-defined variable names and values. PRINTOUT NAMES can be abbreviated to PO NAMES or PONS.

PRINTOUT PROCEDURES prints out all user-defined procedure titles and definitions. PRINTOUT PROCEDURES can be abbreviated to PO PROCEDURES or POPS.

PRINTOUT CONSTANTS prints out all user-defined constants. PRINTOUT CONSTANTS can be abbreviated to PO CONSTANTS or POC.

PRINTOUT TITLES prints out all user-defined procedure titles. PRINTOUT TITLES can be abbreviated to PO TITLES or POTS.

Examples

? TO LINE

> FD 40

> END

LINE defined.

? TO CIRCLE

> REPEAT 360 [FD 1 RT 1]

> END

CIRCLE defined.

? MAKE "SKY "BLUE

? MAKE "GRASS "GREEN

? PPROP "KATE "EYES "BROWN

? PPROP "KURT "EYES "HAZEL

? PO CIRCLE

TO CIRCLE

REPEAT 360 [FD 1 RT 1]

END

? PO ALL

TO CIRCLE

REPEAT 360 [FD 1 RT 1]

END

TO LINE

FD 40

END

GRASS is GREEN

SKY is BLUE

PPROP "KURT "EYES "HAZEL

PPROP "KATE "EYES "BROWN

?

Advertisement