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

NextPrevUpTopContentsIndex

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.

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

example-compile-file
example-edit-file


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex