
Of course, you can also use the CHR$ function to output printable characters; for instance, CHR$(65)
represents the letter A. However, its usually easier to type letters, numbers and punctuation marks, and
your BASIC programs will be much easier to read if you use literal characters, enclosed in quotes,
wherever possible.
Some printer commands expect you to supply a numerical value, representing tab stops, line spacing,
etc. In most cases, values are entered as literal or ASCII characters. For example, using the Microline
standard ESC %C command to set a left margin of one inch (120/120 inch), you would enter the following
line in BASIC:
LPRINT CHR$(27);"%C";"120"
A few commands require that you enter numerical values as the argument to a CHR$ function. The
descriptions of the commands in the appendices will tell you which format to use.
ML3410 ( 96-02-07 )