How to print inverse characters in Commodore Basic

- by

BASIC gives us two CHR$ codes that let us enable or disable printing characters in inverted form on the screen. These codes are

  • CHR$(18) – enable inverse printing
  • CHR$(146) – disable inverse printing

The above screenshot was made with the following line:

print chr$(18);" inverse ";chr$(146);" and back to regular"




If you enjoy my content, please consider supporting me on Ko-fi. In return you can browse this whole site without any pesky ads! More details here.

Leave a Comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.