Star Micronics Radix User Manual page 69

Table of Contents

Advertisement

Controlling Radix With BASIC
55
example, to list a program on the printer with a Commodore C-64
computer you type the following:
OPEN4,4
cMD4
LIST
CLOSE4
This says that the printer is device 4, directs the output to it,
lists the program, and finally closes device 4.
The appendix gives more information about listing programs
on various computers. Find the appendix that tells how your com-
puter works, and try it.
Now that we all know how our computers address the printer,
let's try listing a BASIC program. Load a BASIC program and
LLIST it (or however your computer does it). We've crossed the
first major hurdle-learning how to list programs on Radix. Now
we are ready to jump into the world of programming with Radix.
But first, there are a few fundamentals that we need to cover.
Establishing communications
We've learned something about communicating with our
printer. Now we need to adapt what we know to printing in a
BASIC program. Generally, computers use about the same proce-
dure for printing in a program as they do to list a program. Again
take a few moments to look at the appendix that relates to your
computer. We'll continue when you have it all figured out.
Welcome back. Let's try what we learned. Type the following:
NEW
10 LPRINT "TESTING"
RUN
Remember-we use LPRINT, you may have to use something
else!
At any rate, you should have the word "TESTING" on your
printer. Quite an achievement, isn't it? Let's get done with this
simple stuff so that we can go on to something interesting.

Advertisement

Table of Contents
loading

Table of Contents