5 The Class Browser

5.2 Examining classes

When examining a class, information for the first four areas is filled in automatically. You can see the class's superclasses, subclasses, and slot names straight away.

To see the effects of a simple examination of the classes just defined, follow the instructions below:

1. Select Edit > Copy in the listener.

The last class created, reptile, is copied into the clipboard.

2. Select Works > Lisp > Class Browser.

When first invoked, the class browser is empty.

3. Select Edit > Paste in the class browser.

The class reptile is pasted into the class browser, and described automatically.

Note: You can examine a class even more easily using the Listener's Value menu. See Chapter 10, "The Listener" for details.

Figure 5.3 Browsing the reptile class.

Often, the information you see here will be all you are interested in when examining a class. The class browser nevertheless provides more features which you will find useful, especially when looking at complicated classes.

5.2.1 - Examining slots

FreeLisp User's Guide - 5 FEB 1996

Generated with Harlequin WebMaker