STR$
STR$ (<n u m e r i c e x p r e s s i o n > )
P R I N T STR$(&766)
1894
P R I N T S T R $ ( & X 1 0 1 0 1 0 0 )
84
FUNCTION: Converts the numeric expression) to a decimal string representation in the same form
as used in the
command.
Associatedkeywords:
V A L , P R I N T , V A L , H E X $ , B I N $
STRING$
S T R I N G $ ( < i n t e g e r e x p r e s s i o n > , < c h a r a c t e r e x
pression>)
P R I N T S T R I N G $ ( & 1 6 , " * " )
* * * * * * * * * * * * * * * * * * * * * *
FUNCTION: Delivers a <string expression> consisting of the specified character repeated a number
of times.
Associated keywords:
SPACE$
SYMBOL
S Y M B O L < c h a r a c t e r n u m b e r > , < l i s t o f : < r o w >
5 MODE 2
10 SYMBOL AFTER 90
2 0 S Y M B O L 9 3 , & 8 0 , & 4 0 , & 2 0 , & 1 0 , & 8 , & 4 , & 2 , & 1
30 FOR n=1 TO 2000
40 PRINT CHR$(93);
50 NEXT
60 GOT0 60
COMMAND: The
SYMBOL
command redefines the representation of a given character that has first
been specified in the
S Y M B O L A F T E R
command. The character number, is chosen from the
available ASCII or other characters from the CPC464’s standard character set, and the following
entries define the new character on an 8x8 pixel matrix. A 0 in the row indicates the paper colour to
be used and a 1 indicates that the pixel is to be set to the current ink colour. Also see Appendices II
and III. The example above produces a backslash that goes diagonally across the character cell,
accessible by pressing the ] key.
Associated keywords:
S Y M B O L A F T E R
Summary of Contents for CPC464
Page 1: ......
Page 102: ...PRINT 10 AND 12 Results in 8 PRINT 10 AND 1000 Results in 8 again ...
Page 118: ...TO DO DRAW THIS PAGE ...
Page 219: ...actual value may be made to vary during the execution of a program ...
Page 240: ...Text and WINDOW planner Mode 2 80 Columns ...
Page 241: ......