At 03:28 pm 21/03/01 +1100, Sergei Stenkov said:
>Steve Peacocke wrote:
>> FileSize will give you the size in bytes which may be what
>> you are looking
>Unfortunately not, since the files I'm working with do not have fixed
>structure
This would require that you assign it as a file of byte rather than a text
file.
>> Then <TStrings>.LoadFromFile will place the entire file in a TStrings
>True, but they have their limits on number of items, don't they?
Only by memory as far as I know. If it's going to load it into Excel, it'll
1load into TStrings.
>> Why the need top know the exact number of lines - does it matter?
>
>Because they're to be exported to Excel and it can't handle more then 65536
>lines at a time.
Ah! so you are feeding in chunks. OK, there you have me.
Steve
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"