[comp.lang.smalltalk] Storing/printing a complex object

terry@cs.tamu.edu (Terry Escamilla) (03/21/91)

Is there an easy way to print the contents of a complex object
to a disk file?  My object has several instance variables.
Each instance variable in turn is also a complex object,
such as a dictionary whose values are dictionaries also.
Is there any command sequence which will traverse this
object and print out its contents in a meaningful fashion,
such as Class name followed by object name, instance variable
name(s) followed by their contents (recursively)?

Thanks in advance for any help.

terry