PATTERN

Syntax

PATTERN

Explanation

PATTERN outputs a number which represents the current fill pattern of the graphics screen.

To set the fill pattern of the graphics screen, use SETPATTERN.

The available fill patterns are:



If SETPATTERN was called with a user defined pattern (a list of eight numbers between 0 and 255), PATTERN outputs this list.

Example

? REPEAT 2[FD 20 \

? RT 90 FD 60 RT 90]

? SETPATTERN 8

? PU

? FD 20 RT 90 FD \

? 20 PD

? FILL

? PATTERN

Result: 8

? PU

? HOME

?