STR$
STR$ (<numeric expression>)
PRINT STR$(&766)
1894
PRINT STR$(&X1010100)
84
FUNCTION: Converts the numeric expression) to a decimal string representation in the same form
as used in the PRINT command.
Associatedkeywords: VAL, PRINT, VAL, HEX$, BIN$
STRING$
STRING$(<integer expression>,<character expression>)
PRINT STRING$(&16,"*")
**********************
FUNCTION: Delivers a <string expression> consisting of the specified character repeated a number
of times.
Associated keywords: SPACE$
SYMBOL
SYMBOL <character number>,<list of: <row>
5 MODE 2
10 SYMBOL AFTER 90
20 SYMBOL 93,&80,&40,&20,&10,&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 SYMBOL AFTER 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: SYMBOL AFTER