I just thought that maybe the resize isn't a "record size" but rather how many records are being read at one time? It's very confusing.
----- Original Message ----- From: "Richard R" <[EMAIL PROTECTED]> To: "'Delphi-Talk Discussion List'" <[email protected]> Sent: Friday, October 14, 2005 7:30 PM Subject: Re: wierd stuff happening > Much of the problems were solved by puting a 1 in the record variable in > reset and rewrite functions. Even though I thought of this, I was assuming > that a untyped File was dynamic and would resize itself. Which brings me > to > the question on the recsize parameter, I do not know the meaning of > putting > a 1 in there. Since the default is 128 bytes, should I calculate the > sumation of sizeof(sometype)'s and use that? The delphi help file doesnt > get > into the values that should be used in this parameter. > > ----- Original Message ----- > From: "Raymond Cramer" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, October 14, 2005 8:59 AM > Subject: Re: wierd stuff happening > > > Hello, > I saw your question on the Delph talk list but my response got rejected by > the list manager as apparently I am not a member!! Anyway, I think the > problem might be because the default blocksize is 128 bytes. Try Reset(f, > 1); > > HTH > Ray > > DISCLAIMER: This e-mail and any files transmitted with it are confidential > and intended solely for the use of the individual or entity to whom they > are > addressed. Any views or opinions expressed are those of the author and do > not represent the views of NERC unless otherwise explicitly stated. The > information contained in this e-mail may be subject to public disclosure > under the Freedom of Information Act 2000. Unless the information is > legally exempt from disclosure, the confidentiality of this e-mail and > your > reply cannot be guaranteed. > > > > __________________________________________________ > Delphi-Talk mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi-talk > __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
