🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4871

Re: load operator

#4871
From: Mark Zellers
Date: Tue, 26 Feb 1991 18:03
17 lines
1143 bytes
In article <1991Feb26.010153.5370@kfw.COM> dan@kfw.com (Dan Mick) writes:
>
>Should load work on a non-name-type operand?
>
In a word, yes.  Dictionary keys are not limited to being name objects.

To quote book, chapter and verse, the Adobe Red Book says:

	"Keys are normally name objects;  the PostScript syntax and the
	 interpreter are optimized for this most common case.  However,
	 a key may be any PostScript object except null.  If you attempt
	 to use a string as a key, PostScript will first convert the
	 string to a name object; thus, strings and names are
	 interchangable when used as keys in dictionaries."

Mark H. Zellers
decwrl.dec.com!bwayne!voltaire!mark
Technical Details
Message-ID: <1991Feb26.180310.15978@starnet.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!motcsd!starnet!mzellers
References: <1991Feb26.010153.5370@kfw.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!motcsd!starnet!mzellers
From: mzellers@starnet.uucp (Mark Zellers)
Newsgroups: comp.lang.postscript
Subject: Re: load operator
Message-ID: <1991Feb26.180310.15978@starnet.uucp>
Date: 26 Feb 91 18:03:10 GMT
References: <1991Feb26.010153.5370@kfw.COM>
Reply-To: mzellers@starnet.UUCP (Mark Zellers)
Organization: Starnet Connections---Public Access UNIX
Lines: 17