15 Example: Using The Interface Builder

15.7 Creating a system

If you have followed this example from the beginning, the interface and its callbacks are now completely specified. Next, you can create a Common Lisp system which integrates the interface definition with the callback code.

1. Choose File > New from the editor. This creates a new, unnamed file in the editor.

2. Type the following form into this new file:

(defsystem ib-test
  (:package "CL-USER")
  :members ("ib-callbacks" "ib-example"))

This form creates a system calledib-test that contains two members;ib-example.lisp (the file containing the interface definition) andib-callbacks.lisp (the file containing the callback code).

3. Choose File > Save in the editor to save the new file. Save it in the same directory that you saved theib-example.lisp andib-callbacks.lisp files, and call this filedefsys.lisp.

Common LispWorks User Guide, Liquid Common Lisp Version 5.0 - 18 OCT 1996

Generated with Harlequin WebMaker