| Allegro CL version 6.2 Minimally revised from 6.1 |
Arguments: &key prompt stream root dont-go-below-domain browse-include-files
Displays a dialog showing directories. The chosen directory is returned as a pathname object. Note that the pathname of the directory is stored in a buffer and if the buffer is too small, an error will be signaled. The buffer size is determined by file-selection-buffer-size. The default size is large enough to hold at least 12 pathnames so this should not be a problem for this function, which returns one pathname only.
Note too that it is not possible to specify the initially-selected directory or which subdirectories are initially open in the hierarchy that is presented.
The arguments are:
nil
, the prompt
"Select a folder." is used.
(screen
*system*)
. See screen and *system*
.
nil
, indicating the directory that will appear as the
root node in the dialog's directory tree. Only this directory and its
subdirectory descendents will be presented for selection by the end
user. nil
means to include all available file
systems. Note that if a namestring is passed, backslashes must be
used rather than forward slashes. The final slash is optional when
either a pathname or namestring is passed.
nil
,
directories on both the local computer and networked computers are
accessible. .
The similar function ask-user-for-new-or-existing-directory invokes a dialog that has more options than this function does. But this function invokes the directory dialog that is provided by the operating system and therefore may be more familiar to users of that operating system.
See also ask-user-for-existing-pathname and ask-user-for-new-pathname.
Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page has had minimal revisions compared to the 6.1 page.
Created 2002.2.26.
| Allegro CL version 6.2 Minimally revised from 6.1 |