-
Notifications
You must be signed in to change notification settings - Fork 0
LEFTS
Andrew Owen edited this page May 30, 2023
·
1 revision
child = LEFT$(parent, num_chars)
Returns the leftmost num_chars
characters of parent.
-
parent
is a string expression. -
num_chars
is a numeric expression in[0 to 255]
.
- If
num_chars
is zero orparent
is empty,LEFT$
returns an empty string. - If
num_chars
is greater than the length ofparent
, returnsparent
.
-
parent
has a numeric value ornum_chars
has a string value: Type mismatch. -
num_chars
is not in[-32768 to 32767]
: Overflow. -
num_chars
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: