LispWorks User Guide and Reference Manual > 34 The LISPWORKS Package

NextPrevUpTopContentsIndex

example-compile-file

Function
Summary

Compiles a file in the examples folder to a temporary output file.

Package

lispworks

Signature

example-compile-file file &rest args => output-truename , warnings-p , failure-p

Arguments

file

A pathname designator.

args

Arguments passed to compile-file.

Values

output-truename

A pathname or nil .

warnings-p

A generalized boolean.

failure-p

A generalized boolean.

Description

The function example-compile-file constructs the path to file in the examples folder of the LispWorks library, and a path to an output file in a temporary location which is likely to be writable.

It then calls compile-file with these paths as the input-file and output-file , also passing the other args , and returns the values returned by compile-file.

See also

get-temp-directory
example-file


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex