I found another reference for the PxM file formats at http://www.daubnet.com/formats/PBM.html

According to that reference the term WHITESPACE encompasses one or more characters from the following set: TAB, LF, CR, SPACE (= ASCII codes: 8, 10, 13, 32).

I have tested this with JASC's Paint Shop Pro 7 and a modified CIRCLE_ASCII.PBM that contains various whitespaces and comment lines in random places of the file. The program did read this modified file correctly and displayed a correct image.

The RAW file formats P4-P6 will not be used, the challenge is limited to the ASCII formats P1-P3.

[ 17. October 2003, 15:59: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.