BRIGHT

BASin

BRIGHT

Statement/Command

BRIGHT causes characters to be displayed in brighter colours than normal.

How to use BRIGHT

BRIGHT may be used as a direct command but is normally used to form a statement in a program. It is followed by a numeric value, for example

80 BRIGHT 1

The value following BRIGHT is rounded to the nearest integer if necessary and may then be either 0, 1 or 8. A value of 1 causes all characters subsequently displayed by PRINT or INPUT statements to appear in a brighter ink and paper colour, and a value of 8 causes bright character positions to remain bright and normal character positions to remain normal when new characters are printed there. BRIGHT followed by 0 cancels both BRIGHT 1 and BRIGHT 8 so that all characters subsequently displayed are normal.

BRIGHT may also be embedded (inserted) within display statements formed by PRINT, INPUT, PLOT, DRAW and CIRCLE. BRIGHT follows the keyword but precedes the data or display parameters; it is followed by the same values and a semicolon, for example

50 PRINT BRIGHT 1;"WARNING"

The effect of BRIGHT is then local and applies only to the characters displayed, point plotted or line drawn by the display statement. Note that BRIGHT 1 brightens the paper colour of the whole character position of 8×8 pixels if any pixel in the position in plotted in an ink colour.

Format

  • BRIGHT int-num-expr [;]

See also

Chapter 16.