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

🖥 Flower Tesselation: Testing DRAW and recursive SUB's

This BAM program inspired by Richard Russell's "Flower-like tesselation" BBC BASIC program posted on Facebook . Created in ord...