[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in "readline" ?
From: |
Axel Kowald |
Subject: |
bug in "readline" ? |
Date: |
Mon, 06 Nov 2000 09:55:59 +0100 |
Hi,
please have a look at this very short PS program.
====================================================================
%!PS
/Times-Roman findfont 18 scalefont setfont
100 100 moveto
/readNextLine {
currentfile 500 string readline
{(line read) show}{(eof before newline) show} ifelse
showpage
} def
readNextLine
thisTextIsRead
=======================================================================
If you save this and take care that there is NO newline after
"thisTextIsRead" then readline should return false and the program
should print "eof before newline". If I send this to our PS printer it
does this, but if I run it with gsview 2.7 (ghostscript 5.5) under
windows it returns "line read" :-(
Is this a known bug, or what am I doing wrong ?
Many thanks,
Axel Kowald
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug in "readline" ?,
Axel Kowald <=