ciderpress icon indicating copy to clipboard operation
ciderpress copied to clipboard

AppleWorks SS column generator label is wrong

Open fadden opened this issue 1 year ago • 0 comments

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.

fadden avatar Sep 25 '23 22:09 fadden