LEFT$ is not a function in SmileBasic V1.
LEFT$(A$,N) is a function which takes one string parameter, and one numerical parameter which gets rounded down to the nearest integer. If the number is negative, the function generates an
Out of range (LEFT$) error. Otherwise, the result of the function is the first
N characters of
N is zero, the result is the empty string, and if
N greater than or equal to the length of
A$, the result of the function is the same as
LEFT$ in SmileBasic V3 is identical to that in V2.