Manual

71
currentdict
currentdict
Description
Returns the dictionary object currently on the top of the dictionary stack.
Usage
currentdict CurDict
CurDict Dictionary. Dictionary object current on top of the dictionary stack.
Comments
currentdict pushes a dictionary object for the dictionary currently on top of the dictionary stack.
The operator does not alter the dictionary stack. The dictionary remains on top of the dictionary
stack. The operator pushes a duplicate object which references the same dictionary data.
Under most circumstances, this operator proves useful when deleting an entry made in the curent
dictionary using the def operator. By using "currentdict /Name undef", the user does not need to
know which dictionary resides on top of the dictionary stack. The user only needs to know that no
other dictionary was pushed (using
begin
) onto the dictionary stack since
def
was used to define
/
Name.