Displays a file from the examples folder in an Editor.
lispworks
example-edit-file file
file⇩ |
A pathname designator. |
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.
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")
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:41