Theand procedures use variables of type TSearchRec to scan directories.
TSearchRec = record
Fill: array[1..21] of Byte;
Name: array[0..12] of Char;
The information for each file found by one of these procedures is reported back in a TSearchRec.
- Attr contains the file's attributes (constructed from file attribute
- Time contains its packed date and time (use to unpack)
- Size contains its size in bytes
- Name contains its name
- Fill is reserved by DOS and should never be modified