OVER

BASin

OVER

Statement/Command

OVER is used to overprint one character on another. It can also be used to plot points or draw lines or curves in a paper colour instead of an ink colour.

How to use OVER

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

80 OVER 1

The value following OVER is rounded to the nearest integer and may then be either 0 or 1. OVER 0, which is the default (preset) state, causes any character to obliterate a previous character at the same character position and replace it. OVER 1 causes any two characters displayed at the same character position to be combined.

OVER may be embedded (inserted) in a PRINT or INPUT statement in the same way as INK so that it affects only the characters displayed by the statement. This statement for example, underlines a word

PRINT AT 11,15;"YES"; OVER 1; AT 11,15;"___"

However, note that characters are combined so that the paper colour is given where the ink colours overlap.

OVER in high resolution

OVER may be used with PLOT, DRAW and CIRCLE. Without OVER, lines and curves can overlap each other, but they must have the same ink colour otherwise the ink colour in the whole character position changes where they cross. If OVER 1 is used, lines or curves produce the paper colour where they overlap or meet characters. Plotting points or drawing lines or curves again in exactly the same position with OVER 1 cases them to disappear.

Format

  • OVER int-num-expr

See also

Chapter 16.