AMSTRAD CPC464 User Manual page 181

Cpc464 colour personal computer 64k
Hide thumbs Also See for CPC464:
Table of Contents

Advertisement

WIDTH
WI D T H < i n t e g e r e x p r e s s i o n >
W I D T H 8 6
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
WI N D O W [ # < s t r e a m e x p r e s s i o n >, ] < l e f t >, < r i g h t > , < t o p > , < b o t t o m >
1 0 M O D E 1
2 0 B O R D E R 6
3 0 W I N D O W 1 0 , 3 0 , 7 , 1 8
4 0 P A P E R 2 : P E N 3
50 CLS
6 0 P R I N T C H R $ ( 1 4 3 ) ; C H R $ ( 2 4 2 ) ; " T H I S I S L O C A T I O N "
7 0 P R I N T " 1 , 1 I N T E X T W I N D O W "
8 0 G O T 0 8 0
COMMAND: Sets a text window for a given screen stream.
Associated keywords: ORIGIN
WINDOW SWAP
WI N D O W S W A P < s t r e a m e x p r e s s i o n > , < s t r e a m e x p r e s s i o n >
W I N D O W S W A P 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
WR I T E [ # < s t r e a m e x p r e s s i o n > , ] [ < w r i t e l i s t > ]
W R I T E # 2 , " H E L L 0 " , 4 , 5
" H E L L 0 " , 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.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents