
GeoBASIC Reference Manual
2.GeoBasic Constructs
TPS1100-Version 1.30
2-71
2.12.19 GetDirectoryList
Description
Get a list of entries of the given directory.
Declaration
GetDirectoryList
( byVal sPattern As FileName,
byVal lInclDir As Logical,
DirList
As ListArray,
iItems
As Integer )
Remarks
The function returns a list filled with directory entries of the given
directory which match the given file name pattern. If
lInclDir
is
TRUE
all subdirectory entries in this directory will be included
in the list. The current implementation of
ListArray
contains
LIST_ARRAY_MAX_ELEMENT
elements. If the directory
contains more entries then the last list entry will have
“---
more ---“
assigned to. Pattern matching characters are all valid
file name characters, “*” and “?”. The former matches one or more
characters and the latter matches exactly one character. For further
information please refer to a DOS reference guide.
For the definition of
ListArray
refer to
MMI_InputList
.
Note
As a valid drive specification only
“A:\\”
is allowed.
Hidden and system flagged files will be ignored for
the entry list.
Parameters
sPattern
in
Pattern for the requested files.
lInclDir
in
TRUE: include subdirectories,
FALSE: list files only.
DirList
out
List of directory entries.
iItems
out
Actual number of items, list length.
See Also
-
Error Codes
RC_OK
Successfully completed.
Содержание tps1100
Страница 1: ...GeoBASIC FOR TPS1100 User Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 150: ...GeoBASIC FOR TPS1100 Reference Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 411: ...GeoBASIC Reference Manual 6 System Functions TPS1100 Version 1 30 6 7 6 5 35 CSV_LibCallAvailable 6 213 ...
Страница 620: ...TPS1100 Version 2 10 6 1 ...
Страница 621: ......
Страница 623: ...TPS1100 Version 2 10 6 1 ...
Страница 624: ......
Страница 1053: ...TPS1100 Version 1 30 E 1 Appendix E GEOFONT ...
Страница 1154: ...GeoBASIC Reference Manual Appendix J List of Predefined Identifiers TPS1100 Version 1 30 J 9 TMC_SetOffsetDist 6 128 ...