Make last argument to mid$
optional
#47
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
Like other implementations of BASIC, the length argument to
mid$
should be optional to get the rest of a string from the starting index, just likesubstring
in JavaScript.Example (this should print
ello
:Currently, we get an
Expected another argument to function
error asmid$
expects three arguments.Documentation will need changing to reflect the argument's optionality as well.
The text was updated successfully, but these errors were encountered: