Article View: comp.lang.postscript
Article #3841Re: A question about //add
From: Kenneth Porter
Date: Thu, 06 Dec 1990 06:48
Date: Thu, 06 Dec 1990 06:48
21 lines
1109 bytes
1109 bytes
glenn@heaven.woodside.ca.us (Glenn Reid) writes:
> In article <21745@well.sf.ca.us> shiva@well.sf.ca.us (Kenneth Porter)
writes:
> >/systemname load operatortype { /systemname { //systemname } def } if
>
> This second bit of code doesn't work, for one thing; you need to use
> the "type" operator:
>
> /systemname load type /operatortype eq { ... } if
Thanks for catching my error. As you can see from my nup posting,
this is a case of failing memory. :-)
Bind doesn't seem to do what I want: it doesn't replace names
that evaluate as procedures, only those that evaluate as
operators. Or am I reading the book wrong?
Ken (shiva@well.sf.ca.us)
Technical Details
Message-ID:
<21985@well.sf.ca.us>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!apple!well!shivaReferences:
<1990Nov12.195235.13908@light.uucp> <321@heaven.woodside.ca.us> <329@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!usc!julius.cs.uiuc.edu!apple!well!shiva From: shiva@well.sf.ca.us (Kenneth Porter) Newsgroups: comp.lang.postscript Subject: Re: A question about //add Summary: Oops, you caught me! Message-ID: <21985@well.sf.ca.us> Date: 6 Dec 90 06:48:25 GMT References: <1990Nov12.195235.13908@light.uucp> <321@heaven.woodside.ca.us> <329@heaven.woodside.ca.us> Lines: 21