-
Notifications
You must be signed in to change notification settings - Fork 0
STRINGS
Andrew Owen edited this page May 30, 2023
·
1 revision
string = STRING$(length, char)
Returns a string of length
times the character char
.
- If
char
is a numeric expression, it must be in[0 to 255]
and is interpreted as the code point of the character. - If
char
is a string expression, its first character is used.
-
length
has a string value: Type mismatch. -
char
is the empty string: Illegal function call. -
char
orlength
is not in[-32768 to 32767]
: Overflow. -
char
orlength
is not in[0 to 255]
: Illegal function call.
- Press
RETURN
to return to this menu. - Enter the name of a
TOPIC
to display it. - Enter
EXIT
to return to BASIC.
Choose from the following topics: