🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4952

defeating save/restore

#4952
From: George Jefferson
Date: Fri, 08 Mar 1991 21:50
31 lines
1191 bytes
help..

I am trying to add a bit of my own postscript code 
to existing code which wraps each page in a save/restore pair

My problem is that I would like to pass a value (integer, string whatever)
from one page to the next..

%this obviously won't do it.
save
.
.
/myx 1 def
.
restore
.
.
save
.
.
myx 10 10 string cvrs show %for example
restore


Is there a way to store a value at some low level which is not
destroyed by restore?

I do not want to try to defeat the restore all together, just pass 1 value.

--
-george            george@mech.seas.upenn.edu
Technical Details
Message-ID: <38972@netnews.upenn.edu>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!eniac.seas.upenn.edu!jeffe

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!eniac.seas.upenn.edu!jeffe
From: jeffe@eniac.seas.upenn.edu (George Jefferson )
Newsgroups: comp.lang.postscript
Subject: defeating save/restore
Summary: can it be done?
Keywords: images, data compression,
Message-ID: <38972@netnews.upenn.edu>
Date: 8 Mar 91 21:50:52 GMT
Sender: news@netnews.upenn.edu
Reply-To: jeffe@eniac.seas.upenn.edu (George Jefferson )
Organization: University of Pennsylvania
Lines: 31
Nntp-Posting-Host: eniac.seas.upenn.edu