INVERSE

BASin

INVERSE

Statement/Command

INVERSE causes colours to be inverted at character positions so that the ink becomes the paper and vice-versa.

How to use INVERSE

INVERSE is normally used to form a statement in a program. It is followed by a numeric value, for example

70 INVERSE 1

The value following INVERSE is rounded to the nearest integer and may then be either 0 or 1. INVERSE 1 causes all subsequent displays made by PRINT and INPUT to be produced using these colours. INVERSE 0 restores the ink and paper colours to normal.

Note that INVERSE can be embedded (inserted) within display statements in the same way as INK. However, if used with PLOT, DRAW or CIRCLE then INVERSE 1 causes a line or point to be plotted in the paper colour so it disappears.

Format

  • INVERSE int-num-expr

See also

Chapter 16.