ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   19 Filenames   19.4 Dictionary of Filenames

19.4.10 *default-pathname-defaults* Variable

Value Type:
a pathname object.

Initial Value:
An implementation-dependent pathname, typically in the working directory that was current when Common Lisp was started up.

a pathname, used as the default whenever a function needs a default pathname and one is not supplied.

 ;; This example illustrates a possible usage for a hypothetical Lisp running on a
 ;; DEC TOPS-20 file system.  Since pathname conventions vary between Lisp 
 ;; implementations and host file system types, it is not possible to provide a
 ;; general-purpose, conforming example.
 *default-pathname-defaults*  #P"PS:<FRED>"
 (merge-pathnames (make-pathname :name "CALENDAR"))
 (let ((*default-pathname-defaults* (pathname "<MARY>")))
   (merge-pathnames (make-pathname :name "CALENDAR")))

Affected By:
The implementation.

Allegro CL Implementation Details:
Allegro CL requires that the directory component be an absolute pathname (or nil).

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2017 - File last updated 01-11-2017