FANDOM


Syntax

SETATTR number

Explanation

SETATTR sets the color of the text and background in the Listener window according to its input. The input to SETATTR is based on the formula:

(background color) * 16 + foreground color.

When Logo loads, the default attribute is 240, which corresponds to a background color of 15 and a foreground color of 0.

Note that only the foreground color of the text that Logo outputs is changed. If you work with syntax highlighting, all the special colors which highlight your text do not change.

See also GETATTR, TEXTBG and TEXTFG.

Examples

? SETATTR 53

? SETATTR 233

? SETATTR 181
Pc logo 51

You can see the color.

Pc logo 50

You can see the color.

Pc logo 49

You can see the color.

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.