Manual

userdict
194
Examples
To remove an entry from userdict, the programmer need only use the operator userdict when
specifying the dictionary upon which undef should operate. The following example defines the
procedure DoNothing and then promptly undefines the procedure.
/DoNothing {1 2 add 3 sub pop} def
userdict /DoNothing undef