WIDTH
WI D T H < i n t e g e r e x p r e s s i o n >
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:
,
POS
WINDOW
WI N D O W [ # < s t r e a m expression>,]<left>, < r i g h t > , < t o p > , < b o t t o m >
1 0 M O D E 1
20 BORDER 6
30 WINDOW 10,30,7,18
40 PAPER 2:PEN 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 "
80 GOT0 80
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>, ][<write list>]
W R I T E # 2 , " H E L L 0 " , 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.
Содержание CPC464
Страница 1: ......
Страница 32: ...or you can type 3e1 1e1 ENTER 300 2 3000x1000 Type 3e3 1e3 ENTER 3000000 3 3000x0 001 Type 3e3 1e 3 ENTER 3 ...
Страница 102: ...PRINT 10 AND 12 Results in 8 PRINT 10 AND 1000 Results in 8 again ...
Страница 118: ...TO DO DRAW THIS PAGE ...
Страница 219: ...actual value may be made to vary during the execution of a program ...
Страница 240: ...Text and WINDOW planner Mode 2 80 Columns ...
Страница 241: ......
Страница 245: ...Sound envelope Music planner sheet ...