[comp.lang.postscript] missing dictionary operator?

p_davis@epik.enet.dec.com (Peter Davis) (11/28/90)

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.