Tim Bunce wrote:
>
> Close() I can follow,

And Open(), I hope ;-)

>but what are GetEqual and GetNext doing on a 'file' object?

These are examples of 'Data Retrieval Operations' (my primary
interest!), which return a record from the file.

Step*() are physical operations, i.e. StepNext() is similar to
perl's READLINE().

Get*() are key based operations. After setting some information
about the key you can loop through the file similar to Step*()
but in key order.

I understand your objections because each (but the first)
retrieval is based on a 'current record' - thus storing
that state in a separate iterator object may be a better
choice.

> Got a url to some docs?

  <http://www.pervasive.com/library/prog_api/BtrIntro.html>


Steffen

Reply via email to