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

🖥 Pongy game

This program is a port (and slight mod) of the QB64pe program by SierraKen.  (SierraKen's program shared with the QB64pe community in th...