changing sfrearns
PRINT statements may also contain information for several strearm at a time.
The following program will print “one” on the screen; “two” to a Microdrive
file called “digits” in Microdrive 1; “three” to station 1 on a network (see
chapter 7); and “four” to the next line on the screen.
10 OPEN #4:“m”;l:“digits”
20 OPEN # 5:“n”;l
30 PRINT “one”; #4;“two”;#5:“three” ’ X 2”four”
40
CLOSE #4
50
CLOSE #ki
setting colours
After using a channel other than the screen, you may find that the PAPER
and INK statements have no effect. To get round this, enter:
PRINT;
before setting PAPER and INK.
For more about PRINT and INPUT see chapter 15 of the Basic Programming
manual.
26