Path: 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 -- /* 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 |