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


Groups > comp.lang.postscript > #3727

Re: Errors in the PostScript Language Reference Manual third edition

Subject Re: Errors in the PostScript Language Reference Manual third edition
Newsgroups comp.lang.postscript
References <3cfb8426-dee7-45d8-a61a-dace70ae040c@googlegroups.com> <725fc1d5-f0ee-4d24-acde-47e5409f161a@googlegroups.com>
From David Newall <davidn@davidnewall.com>
Date 2022-01-22 13:46 +1100
Message-ID <61eb6ffa$1@news.ausics.net> (permalink)
Organization Ausics - https://www.ausics.net

Show all headers | View raw


Apologies for the followup of a 30-month old posting.  I have just
started reading this group.

On 2/9/19 12:19 am, jdaw1 wrote:
> Page 538 says that ‘bind’ takes a single parameter ‘proc’. But bind also works with non-procedure non-executable arrays, thus:
> [ {…} {…} … ] bind
> which correctly binds the inner {…}s.s

I think this is not an error.  PostScript Language Reference 3rd
edition, 3.12.1, p118, says:

   "The effect of bind applies not only to the procedure being bound but
  to all subsidiary procedures (executable arrays or executable packed
  arrays) contained within it, nested to arbitrary depth."

Hence, [/print cvx] bind becomes [--print--].

What is not obvious in the reference manual is that "procedure" does
not necessarily mean "executable array".  It seems to mean any array.

On reflection, perhaps this is not surprising.

Back to comp.lang.postscript | Previous | NextPrevious in thread | Find similar


Thread

Errors in the PostScript Language Reference Manual third edition jdaw1 <jdawiseman@gmail.com> - 2019-09-01 07:15 -0700
  Re: Errors in the PostScript Language Reference Manual third edition jdaw1 <jdawiseman@gmail.com> - 2019-09-01 07:19 -0700
    Re: Errors in the PostScript Language Reference Manual third edition David Newall <davidn@davidnewall.com> - 2022-01-22 13:46 +1100

csiph-web