Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!umich!yale!cs.utexas.edu!helios!cs.tamu.edu From: terry@cs.tamu.edu (Terry Escamilla) Newsgroups: comp.lang.smalltalk Subject: Storing/printing a complex object Message-ID: <13518@helios.TAMU.EDU> Date: 20 Mar 91 17:52:00 GMT Sender: usenet@helios.TAMU.EDU Distribution: usa Organization: Computer Science Department, Texas A&M University Lines: 12 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