All Manuals > LispWorks® User Guide and Reference Manual > 38 The LISPWORKS Package

example-edit-file Function

Summary

Displays a file from the examples folder in an Editor.

Package

lispworks

Signature

example-edit-file file

Arguments
file
A pathname designator.
Description

The function example-edit-file constructs the path to the file file in the examples folder of the LispWorks library, adding the "lisp" extension if no extension is specified, and opens the file in an Editor tool in the LispWorks IDE.

If file is a directory name (ending in a slash), then the list of files with "lisp" extension in that directory is displayed in the Editor.

Examples

This form displays the file lib/8-0-0-0/examples/capi/applications/othello.lisp from the LispWorks library:

(example-edit-file "capi/applications/othello")
See also

example-file
example-compile-file


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:41