Article View: comp.lang.postscript
Article #3780Re: missing dictionary operator?
From: Peter Davis
Date: Tue, 27 Nov 1990 21:41
Date: Tue, 27 Nov 1990 21:41
16 lines
1071 bytes
1071 bytes
In article <10784@sunquest.UUCP>, terry@venus.sunquest.com (Terry R. Friedrichsen) writes... . . . > >But unless I simply can't read the red book, I don't see an operator for >REMOVING a key from a dictionary. Am I mistaken? Is there a simple way >to remove a key from a dictionary? > . . . There is an operator introduced in PostScript Level 2 called 'undef' that does what you're looking for. I think you specify a dictionary and a key, and it removes the definition. In the meantime, you have to do what you want with 'save' and 'restore', which completely save and restore the state of virtual memory.
Technical Details
Message-ID:
<17641@shlump.nac.dec.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!gatech!uflorida!haven!decuac!shlump.nac.dec.com!epik.enet.dec.com!p_davisShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!gatech!uflorida!haven!decuac!shlump.nac.dec.com!epik.enet.dec.com!p_davis From: p_davis@epik.enet.dec.com (Peter Davis) Newsgroups: comp.lang.postscript Subject: Re: missing dictionary operator? Message-ID: <17641@shlump.nac.dec.com> Date: 27 Nov 90 21:41:49 GMT Sender: newsdaemon@shlump.nac.dec.com Distribution: usa Organization: Digital Equipment Corporation Lines: 16