
GeoBASIC Reference Manual
2.GeoBasic Constructs
2-70 TPS1100-Version
1.30
2.12.18 GetFileStat
Description
Get specific data about a file.
Declaration
GetFileStat
( byVal sFileName As FileName,
FStat
As FILE_STAT_Type )
Remarks
The function returns data about a file. This function follows the
same pattern matching rules as
GetDirList
.
TPS_Sim
DOS handles the root directory differently to
subdirectories. Therefore calling this function with “.”
in the root and “..” in a subdirectory of root will cause
an error on the simulator.
Parameters
sFileName
in
Pattern for the requested file.
FStat
out
Specific data of a file which matches
the pattern given in
sFileName
.
See Also
-
Error Codes
RC_OK
Successfully completed.
RC_FIL_MEMORY_
FAILED
Error in internal memory allocation.
Maybe because of an access of a non
existing directory or drive.
device errors
RC_FIL_NO_
STORAGE_MEDIUM_
IN_DEVICE
No memory card inserted or it has
been removed and put in again.
RC_FIL_INVALID_
PATH
The given file name pattern does not
conform to file path rules.
RC_FIL_PATTERN_
DOES_NOT_MACTH
The given file name pattern does not
match against any directory entry.
Example
see example
dirlist.gbs
Содержание 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 ...