Code Golfing in Commodore BASIC
imrannazar.com
Code Golfing in Commodore BASIC
1–10 of 42 posts
Re: Code Golfing in Commodore BASIC
#2Re: Code Golfing in Commodore BASIC
#3https://www.c64-wiki.com/wiki/BASIC_keyword_abbreviation
That would shave off some more precious bytes!
Re: Code Golfing in Commodore BASIC
#4In a C64 BASIC program keywords like SAVE and PRINT can be abbreviated: https://www.c64-wiki.com/wiki/BASIC_keyword_abbreviation That would shave off some more precious bytes!
Re: Code Golfing in Commodore BASIC
#5Re: Code Golfing in Commodore BASIC
#6In a C64 BASIC program keywords like SAVE and PRINT can be abbreviated: https://www.c64-wiki.com/wiki/BASIC_keyword_abbreviation That would shave off some more precious bytes!
Doesn’t BASIC tokenize those abbreviations to the exact same in-memory bytes like the full keywords?
Re: Code Golfing in Commodore BASIC
#7Using line number 1 instead of 10 seems like an easy 1 byte save.
Re: Code Golfing in Commodore BASIC
#8Re: Code Golfing in Commodore BASIC
#9In a C64 BASIC program keywords like SAVE and PRINT can be abbreviated: https://www.c64-wiki.com/wiki/BASIC_keyword_abbreviation That would shave off some more precious bytes!
Doesn’t BASIC tokenize those abbreviations to the exact same in-memory bytes like the full keywords?
Re: Code Golfing in Commodore BASIC
#10In a C64 BASIC program keywords like SAVE and PRINT can be abbreviated: https://www.c64-wiki.com/wiki/BASIC_keyword_abbreviation That would shave off some more precious bytes!
Doesn’t BASIC tokenize those abbreviations to the exact same in-memory bytes like the full keywords?