IPB

> File record (type) (WinDos unit and Dos unit)
Чат
Форум
Загрузка...
 

Language:
Русский
English

 File record (type)     (WinDos unit and Dos unit)


The record definitions used internally by Turbo Pascal are also declared in the WinDos unit.

TFileRec is used for both typed and untyped files.

TTextRec is the internal format of a variable of type text.

 type
 { Typed and untyped files }
   TFileRec = record
     Handle: Word;
     Mode: Word;
     RecSize: Word;
     Private: array[1..26] of Byte;
     UserData: array[1..16] of Byte;
     Name: array[0..79] of Char;
   end;

 (Textfile record)
   PTextBuf = ^TTextBuf;
   TTextBuf = array[0..127] of Char;
   TTextRec = record
     Handle: Word;
     Mode: Word;
     BufSize: Word;
     Private: Word;
     BufPos: Word;
     BufEnd: Word;
     BufPtr: PTextBuf;
     OpenFunc: Pointer;
     InOutFunc: Pointer;
     FlushFunc: Pointer;
     CloseFunc: Pointer;
     UserData: array[1..16] of Byte;
     Name: array[0..79] of Char;
     Buffer: TTextBuf;
   end;

 
 К началу страницы 
 

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



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