To try and improved the speed of this program I now wish to consult the facts then move these facts into a chainDB with a btree index. The chainDB and btIndex stuff I know how to do.
For many years I have never known how to share or inherit a fact declaration between two classes as I now wish to write a separate class that will from now on, handle my facts database but in a btree database.
Here is a current example
Code: Select all
class facts % ID Lat Log Weight Distance gift:(integer,real,real,real, real).
Or do I simply duplicate the declaration in both places and hope to remember to change both if the fact format changes.