On Wed, 25 Oct 2000, Yukihiro Matsumoto wrote:

> Because you're dumping array (level 1) contains an instance of C
> (level 2).  So you need to specify level greater than 2.
> 
Yes, I see it know. I thought you could actually chose to what level you
wanted the dump to be. By doing some examples I realized that limit is
used to raise an exception if there are more levels than the
limit.

> |2. If I write my own _dump functions should I subtract one or two from the
> |limit when passing it on to sub-objects?
> 
> You have to subtract 1, not 2.
> 
Yes, but isn't it so that Marshal.dump will already have subtracted 1 when
you get into _dump?

/Robert