Erase (procedure)

Language:
Русский
English

 Erase (procedure)


Erases an external file.

Declaration

 procedure Erase(var F);

Target

Windows, Real, Protected

Remarks

F is a file variable of any file type. The external file associated with F is erased.

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

Restrictions

Never use Erase on an open file.

See Also

Sample Code

Тэги: Erase
| G+
Код для вставки: :: :: :: ::
Поделиться: // //