Article View: comp.lang.postscript
Article #4475Re: bind vs. save/restore
From: Glenn Reid
Date: Wed, 16 Jan 1991 02:14
Date: Wed, 16 Jan 1991 02:14
24 lines
1485 bytes
1485 bytes
In article <47.UUL1.3#5127@aladdin.com> ghost@aladdin.com (L. Peter Deutsch) writes:
>1) If one does a save and then a bind, will the restore undo the
>effects of the bind?
>
>2) If the answer is yes, is this true for packed arrays as well as
>ordinary ones? (Ed Taft's recent posting confirmed that bind does
>affect packed arrays, even though they are normally read-only.)
Well, if you believe implementation, my NeXT computer (Display PostScript
version 2000.6) yields the following answers:
1) yes, restore undoes the effects of bind
2) no, it doesn't seem to work with packed arrays
I presume that you already did some testing before you posted your
question, and that what you are really asking for is clarification
from Adobe, but I thought that some implementation results might help
shed some light on the issue.
Glenn
--
Glenn Reid RightBrain Software
glenn@heaven.woodside.ca.us NeXT/PostScript developers
..{adobe,next}!heaven!glenn 415-851-1785 (fax 851-1470)
Technical Details
Message-ID:
<393@heaven.woodside.ca.us>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!adobe!heaven!glennReferences:
<47.UUL1.3#5127@aladdin.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!adobe!heaven!glenn From: glenn@heaven.woodside.ca.us (Glenn Reid) Newsgroups: comp.lang.postscript Subject: Re: bind vs. save/restore Message-ID: <393@heaven.woodside.ca.us> Date: 16 Jan 91 02:14:19 GMT References: <47.UUL1.3#5127@aladdin.com> Reply-To: glenn@heaven.woodside.ca.us (Glenn Reid) Organization: RightBrain Software, Woodside, CA Lines: 24