LispWorks IDE User Guide > 20 Example: Using The Interface Builder

NextPrevUpTopContentsIndex

20.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 or click
  2. . This creates a new, unnamed file in the editor.
  3. Type the following form into this new file:
  4. (defsystem ib-test
      (:package "CL-USER")
      :members ("ib-callbacks" "ib-example"))

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

  5. Choose File > Save or click
  6. to save the new file. Save it in the same directory that you saved the ib-example.lisp and ib-callbacks.lisp files, and call this file defsys.lisp .

LispWorks IDE User Guide (Windows version) - 22 Dec 2009

NextPrevUpTopContentsIndex