Variables of Type SearchRec


  Variables of Type SearchRec

The FindFirst and FindNext procedures use variables of type SearchRec to scan directories:

    { Search record used by FindFirst }
    { and FindNext }
    SearchRec = record
      Fill : array[1..21] of Byte;
      Attr : Byte;
      Time : Longint;
      Size : Longint;
      Name : string[12];

Information for each file found by FindFirst or FindNext is reported back in a SearchRec.

 Field   What It Contains

 Attr    File's attributes (constructed from file-attribute
 Time    File's packed date and time (use UnpackTime to
 Size    File's size, in bytes
 Name    File's name

The Fill field is reserved by DOS and should never be modified.

See Also

| G+
Код для вставки: :: :: :: ::
Поделиться: // //