Re: TZF - seeking in a VirtualFile

gerard sylvan <[email protected]> Wed, 18 Jun 2003 20:24:39 +0200
Newsgroups gmane.comp.lang.delphi.topaz
Message-ID <[email protected]>
The use of Peek with a TTzVFile is perhaps justifiable with large files.

The principal advantages are:

 - Peek doesn't make convertions.

 - Peek doesn't move the tested record in the buffer: You need to "Go" to
the record that is found to see it.

The problem comes if Peek find a record marked as deleted (" Peek (0, n) =
'*' "):

As far I'm concerned, I didn't succeed to Peek on Field [0] to test if the
record is deleted or not.

I had to find an other way: you will find one possibility in my example.


Gerard.

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt
Or send an email to: [email protected]

TOPICA - Start your own email discussion group. FREE!
http://www.topica.com/partner/tag02/create/index2.html
==^================================================================