Path: 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 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