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 Sat, 22 Jan 2022 13:46:18 +1100
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0
MIME-Version 1.0
In-Reply-To <725fc1d5-f0ee-4d24-acde-47e5409f161a@googlegroups.com>
Content-Type text/plain; charset=utf-8; format=flowed
Content-Language en-US
Content-Transfer-Encoding 8bit
NNTP-Posting-Host news.ausics.net
Message-ID <61eb6ffa$1@news.ausics.net> (permalink)
Organization Ausics - https://www.ausics.net
Lines 21
X-Complaints abuse@ausics.net
Path csiph.com!news.bbs.nz!news.ausics.net!not-for-mail
Xref csiph.com comp.lang.postscript:3727

Show key headers only | 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