attr (not supported in Axiell Collections)
Syntax
ATTR(video foreground ON background)
Arguments
See table below.
Platform
DOS (not supported in Axiell Collections and RunAdapl)
Meaning
Set the colours and video attributes for the screen. Possible properties:
video |
foreground |
background |
BLINKING |
BLUE |
BLUE |
BRIGHT |
YELLOW |
RED |
DIM |
RED |
GREEN |
REVERSE |
GREEN |
CYAN |
|
CYAN |
MAGENTA |
|
MAGENTA |
WHITE |
|
WHITE |
|
Example
INTEGER I
I = BRIGHT BLUE ON GREEN
ATTR(I)
DISPLAY 'This text is bright blue on green'
Result
The text This text is bright blue on green will appear in bright blue against a green background.