Previous: ReadLn procedure To the Table of Content Next: Reset procedure

- 4.62.2.69 -
Standard Units
System Unit
System Unit Procedures and Functions

Rename procedure

Targets: MS-DOS, OS/2, Win32


System Unit

Renames an external file.

Declaration:
procedure Rename(var  F; NewName: String);
Remarks:
Rename must not be used on an open file. All operations after a successful call to Rename use the new name. With {$I-}, IOResult returns zero if Rename was successful, otherwise IOResult contains an error number.


Previous: ReadLn procedure To the Table of Content Next: Reset procedure
ReadLn procedure Table of Content Reset procedure

- 4.62.2.69 -