All Manuals > LispWorks User Guide and Reference Manual > 34 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/6-1-0-0/examples/capi/applications/othello.lisp"
See also

example-compile-file


LispWorks User Guide and Reference Manual - 21 Dec 2011

NextPrevUpTopContentsIndex