jkotlinski / durexforth

Modern C64 Forth
Other
230 stars 28 forks source link

Max string length 255 bytes #463

Closed jkotlinski closed 2 years ago

jkotlinski commented 2 years ago

Discussed in https://github.com/jkotlinski/durexforth/discussions/461

Make LITS use a byte for string length, thus reducing maximum string length to 255 bytes.

Good: Saves one byte per string definition. Allows reuse of string utility methods like COUNT. Makes behavior more consistent. Bad: MML implementation + examples will have to be partially rewritten.