Basic: more efficient/correct file reader.
authorJoel Martin <github@martintribe.org>
Sat, 10 Dec 2016 14:53:10 +0000 (09:53 -0500)
committerJoel Martin <github@martintribe.org>
Wed, 21 Dec 2016 20:51:26 +0000 (13:51 -0700)
commite0bcd3fb42659ff93c84bc7ac319bac7c5a1d7bc
treec2057a9516d5aa7a2ae2dc59b99f7a014647f662
parent3c823be2f82ef82d918a73cd4ce244c2ba6a4395
Basic: more efficient/correct file reader.

- read one character at a time from the file instead of chunking it
  into the A$ string.
- fix an overflow that was happening during reads of long forms.
basic/core.in.bas
basic/debug.in.bas
basic/reader.in.bas
basic/step6_file.in.bas
basic/step7_quote.in.bas
basic/step8_macros.in.bas
basic/step9_try.in.bas
basic/stepA_mal.in.bas
basic/variables.txt