
GeoBASIC Reference Manual
2.GeoBasic Constructs
TPS1100-Version 1.30
2-73
RC_FIL_MEMORY_
FAILED
Error in internal memory allocation.
Maybe because of an access of a non
existing directory or drive.
RC_FIL_INVALID_
PATH
If path is not existent.
Example
FileCopy(“A:\\test.gsi”, “A:\\GSI\\data_1.gsi”)
2.12.21 RenameFile
Description
Renames a file.
Declaration
RenameFile( byVal sOldName As FileName,
byVal sNewName AS FileName )
Remarks
This function renames the file
sOldName
to
sNewName
. There
should be no previous object (file or directory) with the new name.
Absolute and relative paths can be used. A file cannot be moved
from one directory to another.
Parameters
sOldname
in
Existing file name (with path).
sNewName
in
New name for file (with path).
See Also
-
Error Codes
RC_OK
Successfully completed.
RC_FIL_RENAME_
FILE_FAILED
File
sOldname
not found or
sNewName
exists already.
RC_FIL_MEMORY_
FAILED
Error in internal memory allocation.
Maybe because of an access of a non
existing directory or drive.
RC_FIL_INVALID_
PATH
If path is not existent.
Содержание 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 ...