Monday, April 24, 2023

🆕 _LETCHR$ to redefine 8x8 characters assigned to ascii codes

 The _LETCHR$ statement redefines the 8x8 character assigned to an ASCII code.

Syntax

_LETCHR$( ASCII_code%, characterTemplate$ )

  • ASCII_code%
    • An integer number that represents an ASCII character.
    • As simple as a literal number, a constant/variable number, or a numeric expression of any complexity.
  • characterTemplate$
    • A 64-character string that represents the "on" pixels of an 8x8 character
      • any "X" (must be uppercase) represents an "on" pixel
      • any other characters in the string represent "off" pixels
    • As simple as a literal string, a constant/variable number, or a numeric expression of any complexity.




A chess piece "knight" ?
A chess piece "knight" ?



No comments:

Post a Comment

🖥 Fan Dance

This is a port and mod of a SpecBAS program by ZXDunny. Run the program View the source code And, a "less is more?" version: Run t...