◄Dos Unit► ◄Contents► ◄Index► ◄Back► TYPE { record for typed and untyped files } FileRec = RECORD Handle : Word; { DOS file handle } Mode : Word; { access mode (FMxxx constants) } RecSize : Word; Private : ARRAY[1..26] OF Byte; { reserved } UserData : ARRAY[1..16] OF Byte; Name : ARRAY[0..79] OF Char; { full name of file } END; Unit: Dos Description The FileRec type makes available the internal definition of a typed or untyped file. To examine the fields for a particular file, typecast the file variable associated with the file to the type FileRec. The Name field is a null-terminated string. To examine Name, assign it to a variable of type CSTRING.