Difference between revisions of "Midware TMWBuffer.Bof"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> Midware component reference -> TMWBuffer -> Bof == Definition =…')
 
 
Line 3: Line 3:
 
== Definition ==
 
== Definition ==
  
  '''property''' Bof: '''Boolean''';
+
  '''property''' Bof: Boolean;
  
 
== Description ==
 
== Description ==

Latest revision as of 14:50, 14 May 2011

Main page -> Midware component reference -> TMWBuffer -> Bof

Definition

property Bof: Boolean;

Description

Bof property is TRUE when current position has reached begin of file.

Example

The following code iterate MWBuffer data starting from last record up to first record. <syntaxhighlight lang="delphi">

   MWBuffer1.Last;
   while not MWBuffer1.Bof do begin
       Memo1.Lines.Add(MWBuffer1.RecordToString);
       MWBuffer1.Prior;
   end;

</syntaxhighlight>