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

NextPrevUpTopContentsIndex

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/7-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 - 13 Feb 2015

NextPrevUpTopContentsIndex