For anyone using (or trying to use) my _PIC to .BMP graphics file conversion program in QL Today October 2003 issue (Vol 8 Issue 3), David Bunbury has kindly written to point out that there is an error in line 270 of the listing on page 43.
In line 270, the GET #3 statement should fetch a 16 bit value from the QL PIC file. In fact, the use of a floating point variable causes the program to try to fetch a non-existent floating point value, which of course may cause an error. The simplest solution is either to rename the variable ql_bpl to an integer throughout the listing (e.g. ql_bpl%) or to assign the value in the GET statement to an integer variable and coerce to ql_bpl immediately afterwards to avoid having to locate and manually rename all occurrences of ql_bpl: 270 GET #3,temp% : ql_bpl = temp% I will print David's email as a correction in the next available issue of QL Today. Unfortunately, we've just had the current issue back from the printer, so too late for this issue, I'm afraid.
