Language:
Русский
English
Variables of Type SearchRec (Dos unit)
The FindFirst and FindNext procedures use variables of type SearchRec to scan directories.
type
{ Search recored used by FindFirst and FindNext }
SearchRec = record
Fill: array[1..21] of Byte;
Attr: Byte;
Time: Longint;
Size: Longint;
Name: string [12];
end;
The information for each file found by one of these procedures is reported back in a SearchRec.
- Attr contains the file's attributes (constructed from file attribute
constants)
- Time contains its packed date and time (use UnpackTime to unpack)
- Size contains its size in bytes
- Name contains its name
- Fill is reserved by DOS and should never be modified