20 Self-contained examples
This chapter enumerates the set of CAPI examples in the LispWorks library. Each example contains complete, self-contained code and detailed comments, which include one or more entry points near the start of the file which you can run to start the program.
To run the example code:
-
Open the file in the Editor tool in the LispWorks IDE. Evaluating the call to example-edit-file shown below will achieve this.
-
Compile the example code, by
Ctrl+Shift+B
.
-
Place the cursor at the end of the entry point form and press
Ctrl+X Ctrl+E
to run it.
-
Read the comment at the top of the file, which may contain further instructions on how to interact with the example.
CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017