IPB

> Rename (procedure)
Чат
Форум
Загрузка...
 

Language:
Русский
English

 Rename (procedure)


Renames an external file.

Declaration

 procedure Rename(var F; Newname);

Target

Windows, Real, Protected

Remarks

F is a variable of any file type. Newname is a string-type expression or an expression of type PChar if the extended syntax is enabled. The external file associated with F is renamed to Newname. Further operations on F operates on the external file with the new name.

With {$I-}, IOResult returns 0 if the operation was successful; otherwise, it returns a nonzero error code.

See Also

Sample Code

 
 К началу страницы 
Тэги: Rename
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 



-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"