FANDOM


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:

Pc logo 7

Available Background Patterns in the PC Logo.









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

Example

Pc logo 38

This is a PATTERN command example. Its executes "REPEAT 2[FD 20 RT 90 FD 60 RT 90] SETPATTERN 8 PU FD 10 RT 90 FD 20 PD FILL PATTERN PU HOME" command.

? 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

?

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.