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

example-file Function

Summary

Returns a path in the examples folder.

Package

lispworks

Signature

example-file file => path

Arguments
file
A pathname designator.
Values
path
A pathname.
Description

The function example-file returns an absolute path to a file file in the examples folder of the LispWorks library.

It does not actually test for the existence of the file.

Examples
(example-file "capi/applications/othello.lisp")
=>
#P"C:/Program Files/LispWorks/lib/8-0-0-0/examples/capi/applications/othello.lisp"
See also

example-compile-file
example-edit-file


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