🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4823

BUG

#4823
From: Hicham Bahi
Date: Wed, 20 Feb 1991 14:14
20 lines
1168 bytes
PostScript Bug?

I have noticed a strange behavior of both my Laser printer
and Ghostscript: I wrote the following programm:

/str 10 string def
150 280 moveto
currentpoint 280 eq str cvs show

The display I got from both my Laser printer and
Ghostscript was FALSE. I printed the stack after the
currentpoint operator and its top element was 280. So
can somebody explain to me why the eq operator returns
FALSE ? Of course, I checked some other values like 4,
109, 40 but the result was the same, except for values
like 300 or 400. It seems improbable that it's a bug
because the behavior of Ghostscript and my Laser
printer was the same. So what's the problem ??? 

HICHAM (hicham@olsen.uucp.ch)
Technical Details
Message-ID: <218@wander.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!uunet!mcsun!cernvax!chx400!chx400!olsen!hicham

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!uunet!mcsun!cernvax!chx400!chx400!olsen!hicham
From: hicham@olsen.UUCP (Hicham Bahi)
Newsgroups: comp.lang.postscript
Subject: BUG
Message-ID: <218@wander.UUCP>
Date: 20 Feb 91 14:14:40 GMT
Reply-To: hicham@olsen.UUCP (Hicham Bahi)
Organization: Olsen & Associates, Zurich, Switzerland
Lines: 20