EasyManua.ls Logo

AMSTRAD CPC464 - Page 181

AMSTRAD CPC464
249 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WIDTH
WIDTH <integer expression>
WIDTH 86
COMMAND: Tells BASIC how wide the printer is in characters, this information allows BASIC to
insert carriage returns as required when printing.
Associated keywords: PRINT , POS
WINDOW
WINDOW [#<stream expression>,]<left>,<right>,<top>, <bottom>
10 MODE 1
20 BORDER 6
30 WINDOW 10,30,7,18
40 PAPER 2:PEN 3
50 CLS
60 PRINT CHR$(143);CHR$(242);"THIS IS LOCATION"
70 PRINT "1,1 IN TEXT WINDOW"
80 GOT0 80
COMMAND: Sets a text window for a given screen stream.
Associated keywords: ORIGIN
WINDOW SWAP
WINDOW SWAP <stream expression>,<stream expression>
WINDOW SWAP 0,2
COMMAND: Exchanges the text windows. For example, BASIC messages sent to stream #O may be
swapped with another window to highlight aspects of program development and operation.
Associatedkeywords: WINDOW,PEN,PAPER,TAG
WRITE
WRITE [#<stream expression>, ][<write list>]
WRITE #2,"HELL0",4,5
"HELL0",4,5
COMMAND: Prints the values of a number of expressions to the given stream, separating them by
commas and enclosing strings in double quotes. Used mainly for outputting data to cassette files.

Table of Contents

Other manuals for AMSTRAD CPC464

Related product manuals