Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
SearchRec
◄Dos Unit► ◄Contents► ◄Index► ◄Back►
TYPE
{ record for FindFirst and FindNext }
SearchRec = RECORD
Fill : ARRAY[1..21] OF Byte; { reserved }
Attr : Byte; { file attributes }
Time : LongInt; { last modification, packed }
Size : LongInt; { file size in bytes }
Name : STRING[12]; { base name and extension }
END;
Unit: Dos
Context: FindFirst, FindNext, UnpackTime
Description
The fields of SearchRec are used by the procedures FindFirst and
FindNext.
The Fill field is reserved for internal use.
The Attr field receives the attributes of a located file.
The Time field receives the date and time of the last modification
of a located file. The time is in packed format. Use the UnpackTime
procedure to convert the information to a DateType type, defined in
the Dos unit.
The Size field receives the size of a located file, in bytes.
The Name field receives the base name and extension of a located
file.