17.01.2013 Views

AmstradCPC6128-hypertext-en-Sinewalker

AmstradCPC6128-hypertext-en-Sinewalker

AmstradCPC6128-hypertext-en-Sinewalker

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Each of the following commands may include a stream director to id<strong>en</strong>tify the<br />

WIN DO W in which the command is to be carried out.<br />

C LS<br />

COPYCHR$<br />

INPUT<br />

LINE INPUT<br />

LIST<br />

LOCATE<br />

PAPER<br />

PEN<br />

POS<br />

PRINT<br />

TAG<br />

TAGOFF<br />

VPOS<br />

WINDOW<br />

WRI TE<br />

The new gre<strong>en</strong> window which you have put on the scre<strong>en</strong>, will have obscured some of<br />

the previous text (writt<strong>en</strong> on window number 0).<br />

Text may be directed to any window by including a stre&m director in a PR I N T<br />

statem<strong>en</strong>t:<br />

PRINT #4,"heLLo there"<br />

These words will appear at the top of the gre<strong>en</strong> rectangle, rather than on the<br />

following line as would have happ<strong>en</strong>ed if ....<br />

PRINT "heLLo there"<br />

.... had be<strong>en</strong> used. While typing in the earlier command, you will have noticed that<br />

part of the gre<strong>en</strong> window was overwritt<strong>en</strong> by thetext.<br />

If you want all the normal BASIC messages to appear in window 4, th<strong>en</strong> it can be<br />

swapped with the default window (QI)byuse of the WIN DOW S WA P command:<br />

WINDOW SWAP 12J,4<br />

The 'R e a d y' that follows this command will be printed in the gre<strong>en</strong> window. The<br />

cursor will be positioned directly b<strong>en</strong>eath it. Now try typing the following:<br />

PRINT #4,"heLLo there"<br />

At your leisure .... Chapter 9 Page 27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!