[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: extending @Book?
From: |
Jeff Kingston |
Subject: |
Re: extending @Book? |
Date: |
Wed, 13 May 1998 15:53:05 +1000 |
If you look in file bookf/include, you'll see that the outermost
definition is @BookLayout, and that @Book is within that. So
you need either
extend @BookLayout
def ...
or (more probably)
extend @BookLayout @Book
def ...
The former places the definition inside @BookLayout alongside
@Book, the latter places it inside @Book.
When using extend, as in using inheritance in OO languages, you
make visible all the internal definitions of the one you are
extending. So you need to be a bit careful with name clashes etc.
Jeff
- extending @Book?, Darrin Smart, 1998/05/13
- Re: extending @Book?,
Jeff Kingston <=