BORDER

BASin

BORDER

Statement/Command

BORDER specifies the colour of the border around the screen display area.

How to use BORDER

BORDER may be used as a direct command or as a statement in a program. It is followed by a numeric value, for example

30 BORDER RND*7

The value following BORDER is rounded to the nearest integer and specifies the colour of the border as follows:

0 Black
1 Blue
2 Red
3 Magenta
4 Green
5 Cyan
6 Yellow
7 White

Note that BORDER also sets the paper colour of the lower part of the screen. Unlike INK and PAPER, a BORDER statement cannot be embedded (inserted) in a PRINT statement.

Format

  • BORDER int-num-expr

See also

Chapter 16.