Цитата:
Сообщение от Embarcadero
procedure Reset(var F: File; [ RecSize: Integer]); overload;
...
F is a variable of any file type associated with an external file using AssignFile. RecSize is an optional expression that can be specified only if F is an untyped file. If F is an untyped file, RecSize specifies the record size to be used in data transfers. If RecSize is omitted, a default record size of 128 bytes is assumed.
|
Отсюда следует, что лучше использовать
+ файлы нужно закрывать.
Но проще использовать TFileStream, как говорил MAD.