• Re: Errors in the PostScript Language Reference Manual third edition

    From David Newall@davidn@davidnewall.com to comp.lang.postscript on Sat Jan 22 13:46:18 2022
    From Newsgroup: comp.lang.postscript

    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 rCybindrCO takes a single parameter rCyprocrCO. But bind also works with non-procedure non-executable arrays, thus:
    [ {rCa} {rCa} rCa ] bind
    which correctly binds the inner {rCa}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.
    --- Synchronet 3.21d-Linux NewsLink 1.2