CHAR

Function

CHAR specifies the character set.

Syntax

CHAR n[,I] 0<n<4

Examples

CHAR 2,I

This will output double width text in inverse video if I>0.

Remarks

In graphics mode only there are five different character sets, with CHAR 0 being the default set.

I is the inverse parameter. If it is zero then the characters are normal. If it is non zero then inverse video is displayed.

  • CHAR 0 produces a small 7x5 pixel character set defaulted to after a SCREEN 1 statement.
  • CHAR 1 is the standard 9x7 character set.
  • CHAR 2 are double width characters.
  • CHAR 3 are double height characters.
  • CHAR 4 are double height and double width characters.

Each time character size is changed, the cursor is re-located to the upper left-hand coner.

CHAR has no effect in text mode.