Re: How to represent category, subcategory, product

From: Neo <>
Date: 23 Nov 2006 09:46:42 -0800
Message-ID: <>

> is'nt the risk of adding new subclasses by mistake
> (example sedan, Sedan sEdan, etc), another disadv. ?

Via the new function, such a mistake is possible. The new function creates a new thing, names it and classifies it as specified (ie sedan). If the specified class (ie sEdan) does not exist, it will create it.

To avoid this situation, use the following method: (new 'vehicle8)
(set sedan instance vehicle8)

Via above method, the following will not be accepted ... (set sEdan instance vehicle8)

... and dbd prompts user with "What is sEdan?"

For more info, see Received on Thu Nov 23 2006 - 18:46:42 CET

Original text of this message