Applesoft BASIC Solutions

Applesoft BASIC does not use PRINT to send data to the screen and LPRINT to send data to the printer as Microsoft BASIC does. Therefore, you need to change the programs in this manual some- what. In most cases all you need to do is to add two lines to each program and change all instances of LPRINT to PRINT. Add a line at the beginning of the program that states PR#1 and a line at the end that states PR#0.

For the programs in this manual that contain INPUT statements, put the line that states PR#1 after the INPUT statement.

QX-10® and QX™-16 Solutions

The format for the WIDTH statement for the Epson QX-10 and QX-16 computers is:

WIDTH LPRINT 255

User-defined Character Solutions

Chapter 7 gives you two programs to define up to one character, but you can define over 200 if you wish.

Defining more than three characters

In order to define more than one character in Epson mode, you need to understand more about Definition program 1 in Chapter 7. There- fore, four lines from that program are reprinted and explained below.

160LPRINT CHR$(27)" :"CHR$(0)CHR$(0)CHR$(0);170LPRINT CHR$(27)"%"CHR$(l)CHR$(0);180LPRINT CHR$(27)"&"CHR$(0)CHR$(60)CHR$(60);

190LPRINT CHR$(128);

In normal printing the FX-286 prints characters from its Read Only Memory (ROM), but user-defined characters are stored in its Random Access Memory (RAM). Therefore the commands in lines 160 and 170 are necessary for printing a mixture of user-defined and standard characters. The command in line 160 moves (or downloads) the characters from the ROM to the RAM. The command in line 170 tells the FX-286 to print only characters in the RAM.

C-8