AMSTRAD cpc 6128 User Instruction page 400

Integrated computer/disc system
Hide thumbs Also See for cpc 6128:
Table of Contents

Advertisement

Each of the following commands may include a stream director to identify the
WIN DO W in which the command is to be carried out.
C LS
COPYCHR$
INPUT
LINE INPUT
LIST
LOCATE
PAPER
PEN
POS
PRINT
TAG
TAGOFF
VPOS
WINDOW
WRI TE
The new green window which you have put on the screen, will have obscured some of
the previous text (written on window number 0).
Text may be directed to any window by including a stre&m director in a PR I N T
statement:
PRINT #4,"heLLo there"
These words will appear at the top of the green rectangle, rather than on the
following line as would have happened if ....
PRINT "heLLo there"
.... had been used. While typing in the earlier command, you will have noticed that
part of the green window was overwritten by thetext.
If you want all the normal BASIC messages to appear in window 4, then it can be
swapped with the default window (QI)byuse of the WIN DOW S WA P command:
WINDOW SWAP 12J,4
The 'R e a d
y'
that follows this command will be printed in the green window. The
cursor will be positioned directly beneath it. Now try typing the following:
PRINT #4,"heLLo there"
At your leisure ....
Chapter 9 Page 27

Advertisement

Table of Contents
loading

Table of Contents