To define your own characters, use one of these two syntaxes:
CONFIGURE LABEL First_char TO String$
CONFIGURE LABEL First_char TO Array$(*)
where First_char is a numeric expression, rounded to an integer, which gives the LABEL character to be defined, and String$ is a string expression that contains the new definition. If a string array is specified, then one definition is stored in each element and additional characters following First_char are also defined. Characters in the range 33 to 255 may be defined.
HTBasic provides 8 kilobytes of definition space. If you run out of space, you can free up space by deleting unused definitions. To delete the definition of a character, specify a zero length string for the definition.
The LABEL font is defined in a character cell that is 8 units wide and 16 units high. The x units are numbered 0 to 7; the y units are numbered 0 to 15. The baseline is y=5. The normal descender, such as that for the lower-case "g", goes down to y=1. Characters are left justified in the character cell. The top of an H is at y=14. The right side of the H is at x=6.
Each character in the definition gives an x,y coordinate and a flag indicating whether to move or draw to that coordinate. The flag is stored in bit 7 of the character. If set, MOVE to x,y; otherwise DRAW to x,y. The x coordinate is stored in bits 6, 5, and 4. The y coordinate is stored in bits 3, 2, 1, and 0.
The following example shows the definition of the character "H":
Val = Move+ x*16 + y
133 = 128 + 0*16 + 5
14 = 0*16 + 14
238 = 128 + 6*16 + 14
101 = 6*16 + 5
138 = 128 + 0*16 + 10
106 = 6*16 + 10
CONFIGURE LABEL 72 TO CHR$(133)&CHR$(14)&CHR$(238)&