Closed skx closed 3 years ago
This pull-request closes #113, by allowing the multiplication operator to be applied to strings:
The following program:
10 PRINT "STEVE" * 3
Will output
STEVESTEVESTEVE
The test-cases were updated to cope with the changes, as previously "STRING * STRING" was invalid and expected to create an error.
Worked for me locally. I guess my linters are outdated.
Will update appropriately over the weekend :)
This pull-request closes #113, by allowing the multiplication operator to be applied to strings:
The following program:
Will output
The test-cases were updated to cope with the changes, as previously "STRING * STRING" was invalid and expected to create an error.