r/QBeducation • • Jun 25 '23

Code tables for the common typographical characters

Thought I'd share some code tables to educate QBASIC programmers on more advanced uses of them.

Here's some code tables of the basic text characters:

numeric digits:

numeric digitCardinal numeralvalue variable digitSTRING entry (includes INKEY$ as an example)ASCII codeINP(&H60) keyboard scan code
0zero0"0"4811
1one1"1"492
2two2"2"503
3three3"3"514
4four4"4"525
5five5"5"536
6six6"6"547
7seven7"7"558
8eight8"8"569
9nine9"9"5710

letters of the alphabet:

alphabetical letterlowercase variantnth positionUPPERCASE ASCII codelowercase ASCII codeINP(&H60) KEY DOWNINP(&H60) KEY UP
Aa1659730158
Bb2669848176
Cc3679946174
Dd46810032160
Ee56910118146
Ff67010233161
Gg77110334162
Hh87210435163
Ii97310523151
Jj107410636164
Kk117510737165
Ll127610838166
Mm137710950178
Nn147811049177
Oo157911124152
Pp168011225153
Qq178111316144
Rr188211419147
Ss198311531159
Tt208411620148
Uu218511722150
Vv228611847175
Ww238711917145
Xx248812045173
Yy258912121149
Zz269012244172

just thought I'd cover the BASICs, get it? BASIC? QBASIC

1 Upvotes

0 comments sorted by