Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!feed.xsnews.nl!border-3.ams.xsnews.nl!feeder.xennanews.com!nf37.xennanews.com!not-for-mail From: Cecil Westerhof Newsgroups: comp.lang.postscript Subject: Re: Popping dict leaves 0 on stack Organization: Decebal Computing References: <87pq1vidu3.fsf@Compaq.site.inet> X-Homepage: http://www.decebal.nl/ Date: Thu, 27 Dec 2012 22:29:44 +0100 Message-ID: <87han7i3p3.fsf@Compaq.site.inet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:Qlovt2Pc/pTPsaqFt7jm3+GUQ10= MIME-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@xennanews.com Lines: 23 NNTP-Posting-Host: 84.53.123.169 (84.53.123.169) NNTP-Posting-Date: Thu, 27 Dec 2012 22:44:06 +0100 Xref: csiph.com comp.lang.postscript:1200 Op donderdag 27 dec 2012 18:50 CET schreef Cecil Westerhof: > When I execute the following (with p2pdf): > 5 dict begin > end > > There is an extra zero on the stack. Because of that, I now use the > following code: > 5 dict begin > end pop > > Is this an error in ps2pdf? It was a stupid error from myself. I had a function where I used a start and end value. And when you define end, then end does not anymore what it should do. I changed end to endVal and problem solved. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof