I think its the new long string model introduced in delphi 2 in which
strings are actually reference counted pointers, and not statically
allocated like previous versions.
Change your compiler options to use shortstrings by default, or explicitly
declare the size of the string, or change the type of the time variable to
"shortstring" instead i.e.
type
TFileRec = record
time : string [10];
end;
or
TFileRec = record
time : shortstring;
end;
var
myFile : file of TFilerec;
> .-->
>
> Wilfred Verkley
> Software Developer
> Software Development
> Wang NZ Ltd
> DDI 9-3087788
> Fax 9-3064600
> Email [EMAIL PROTECTED]
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz