Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #1200

Re: Popping dict leaves 0 on stack

From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.postscript
Subject Re: Popping dict leaves 0 on stack
Organization Decebal Computing
References <87pq1vidu3.fsf@Compaq.site.inet>
Date 2012-12-27 22:29 +0100
Message-ID <87han7i3p3.fsf@Compaq.site.inet> (permalink)

Show all headers | View raw


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

Back to comp.lang.postscript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Popping dict leaves 0 on stack Cecil Westerhof <Cecil@decebal.nl> - 2012-12-27 18:50 +0100
  Re: Popping dict leaves 0 on stack Cecil Westerhof <Cecil@decebal.nl> - 2012-12-27 21:20 +0100
  Re: Popping dict leaves 0 on stack Cecil Westerhof <Cecil@decebal.nl> - 2012-12-27 22:29 +0100

csiph-web