IPB

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

Language:
Русский
English

 Truncate (procedure)


Truncates the file at the current file position.

Declaration

 procedure Truncate(var F);

Target

Windows, Real, Protected

Remarks

F is a file variable of any type. All records past F are deleted, and the current file position also becomes end-of-file (Eof(F) is True).

If not,I/O-checking is off, the IOResult function returns a nonzero value if an error occurs.

Restrictions

F must be open. Truncate does not work on text files.

See Also

Sample Code

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

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



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