ciderpress
ciderpress copied to clipboard
AppleWorks SS column generator label is wrong
The PrintCol() function does this for columns >= 26:
fPrintColBuf[0] = 'A' + col / 26;
fPrintColBuf[1] = 'A' + col % 26;
fPrintColBuf[2] = '\0';
This jumps from "Z" to "BA" instead of "AA". It should actually be 'A' + col / 26 - 1
.
Also, strings output for token=0xff should be wrapped in double quotes. The ellipsis token ($fc) should be ".." for denoting ranges in modern spreadsheets.