well, i have an object called a Miter, and it has an array of Table.
each Table has an array of Section. each Section has an array of Cell.
and each Cell has an array of Element.

so when i create a Miter, i pass in a @layout and a @prefix. the @layout
gets parsed thus creating all those subobjects, but in so doing, each
Element has a @name which needs to be prefixed with @prefix.

does that help?


On Sat, 2002-07-06 at 17:22, Alan Chen wrote:
> On Sun, Jul 07, 2002 at 08:11:11AM +0900, Tom Sawyer wrote:
> > i have a chain of objects such that one object contains another which
> > contains another, and so on, down the line. the top object recieves a
> > parameter which only the bottom most object in the chain is going to
> > need. but how do i get it down there with out passing it through all the
> > rest? and not using a global variable? for example:
> 
> If only the bottom object is goind to need the parameter, why isn't
> the parameter getting passed directly to Bottom?
> 
> -- 
> Alan Chen
> Digikata LLC
> http://digikata.com
> 
-- 
~transami

"They that can give up essential liberty to obtain a little
 temporary safety deserve neither liberty nor safety."
	-- Benjamin Franklin