source-solutions / sebasic4

SE BASIC - A free BASIC interpreter written in Z80 assembly language
GNU General Public License v3.0
64 stars 6 forks source link

Replace `TRON` with `TRACE` and `TROFF` with `OFF` #102

Closed cheveron closed 2 years ago

cheveron commented 2 years ago

Need to support KEY OFF. To avoid wasting tokens, change TRON to TRACE and TROFF to OFF. Handle TRON and TROFF as substitutes in the pre-tokenizer. KEY OFF sets all the macros to be the actual key value, effectively enabling the keys to be read as a normal key-press.

cheveron commented 2 years ago

done