On Thu, Jul 18, 2002 at 02:18:43PM -0400, Casey Duncan wrote:
On Thursday 18 July 2002 02:06 pm, Ross Boylan wrote:
Is there a way to get inheritance, so that, for example, class C(B): sect1 = DTMLFile("CSect2",globals())+B.sect1(self)?
I don't think that syntax will work, but perhaps you see what I'm driving at--I want to include all the previous stuff.
Please explain what you mean by "include". + to me implies append, surely not what you were after.
Perhaps a specific use case would make this clear.
-Casey
I think append would be OK. In most obvious case, the screen for A looks like foo bar xxx yyyy And for B it would be foo bar xxx yyyy zzz aaa And then for C foo bar xxx yyyy zzz aaa qqq tttt And then if I extend A by adding some more data or info on the screen foo bar new stuff xxx yyyy C ends up looking like foo bar new stuff xxx yyyy zzz aaa qqq tttt