Commodore 64 BASIC has abbreviated forms for most of its keywords, ranging from ?
being short for PRINT
(common across many dialects of BASIC) to C64-specific ones such as D♠
(D
followed by SHIFT+A
) being short for DATA
. When you list a program's source code after typing it in, most of these abbreviations will be expanded (but not all of them -- TI
, TI$
, and ST
won't be) and some optional whitespace will be inserted.
I've been counting the length of C64 programs as "the number of characters typed in", which seems more or less in-line with how other languages are scored. However, Shaun Bebbers has started golfing in C64 BASIC as well, and is counting the length of programs in terms of "bytes of program memory used" (see, for example, this answer).
What's the correct way of counting the length of a program?