Article View: comp.lang.postscript
Article #3661Re: A question about //add
From: Dave Jedlinsky
Date: Tue, 13 Nov 1990 19:16
Date: Tue, 13 Nov 1990 19:16
36 lines
1495 bytes
1495 bytes
--
/* Eat this, line-eater! */
Here's another data point.
The Display Postscript X server (Adobe) for Ultrix 4.0 has the
following behaviour:
PS>version ==
(1006.5)
PS>1 2 //add pstack clear
3
PS>1 2 /add load pstack clear
--add--
2
1
PS>{1 2 //add} pstack clear
{1 2 --add--}
PS>
I agree that this is inconsistent with the "PostScript Language
Supplement" from Adobe, dated January 9, 1986, page 3:
"The substitution occurs immediately, regardless of
whether or not the token appears inside an executable
array delimited by '{...}'. Note that this process is
a substitution and not an execution; that is, the name's
value is not executed but rather is substituted for the
name itself, just as if the load operator had been applied
to the name."
-David Jedlinsky
Digital Equipment Corporation |
dcj@decvax.dec.com | This space intentionally left blank.
...!decwrl!decvax!dcj |
Technical Details
Message-ID:
<17218@shlump.nac.dec.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!think.com!samsung!sdd.hp.com!wuarchive!udel!haven!decuac!shlump.nac.dec.com!decvax.DEC.COM!dcjReferences:
<321@heaven.woodside.ca.us>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!think.com!samsung!sdd.hp.com!wuarchive!udel!haven!decuac!shlump.nac.dec.com!decvax.DEC.COM!dcj From: dcj@decvax.DEC.COM (Dave Jedlinsky) Newsgroups: comp.lang.postscript Subject: Re: A question about //add Message-ID: <17218@shlump.nac.dec.com> Date: 13 Nov 90 19:16:06 GMT References: <321@heaven.woodside.ca.us> Sender: news@shlump.nac.dec.com Reply-To: dcj@decvax.DEC.COM (Dave Jedlinsky) Organization: Ultrix Engineering Group Lines: 36