RENAME
|
Syntax: |
RENAME <Old Filename>,<New
Filename> ON ERROR … END
|
||||
|
|
|
||||
|
Meaning: |
Renames a file. In the case of an error the block ON ERROR …
END is executed and the variable OK contains the error number. |
||||
|
Parameter: |
|
||||
|
Sample: |
RENAME "Test.dat","Test.old" ON ERROR ERRORMES =
"Error" + STR$(OK) END |
||||
|
See also: |
|