🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #6526

question about restore

#6526
From: Eric Marshall
Date: Wed, 27 Jan 1993 21:49
25 lines
965 bytes
	In the following code fragment:

	save
	  /three 3 def
	  three  % works fine
	restore

	three    % causes "undefined" error

I do not understand why three is not defined after the restore. 
The red book says that restore does not affect the contents of the
dictionary stack, but there is obviously something more to it than
that.  Could someone please explain this to me?

	Thanks in advance.


Eric Marshall
Software Productivity Consortium
SPC Building
2214 Rock Hill Road
Herndon, VA 22070
(703) 742-7153

marshall@software.org
Technical Details
Message-ID: <1993Jan27.214901.19529@software.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!uvaarpa!software.org!marshall

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!uvaarpa!software.org!marshall
From: marshall@software.org (Eric Marshall)
Subject: question about restore
Message-ID: <1993Jan27.214901.19529@software.org>
Sender: usenet@software.org (Usenet News/Mail Support)
Organization: Software Productivity Consortium, Herndon, Virginia
Date: Wed, 27 Jan 1993 21:49:01 GMT
Lines: 25