Difference between revisions of "Midware TMWBuffer.Eof"
Jump to navigation
Jump to search
(Created page with ' Main page -> Midware component reference -> TMWBuffer -> Eof == Definition =…') |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
== Definition == | == Definition == | ||
− | '''property''' Eof: | + | '''property''' Eof: Boolean; |
== Description == | == Description == | ||
Line 14: | Line 14: | ||
<syntaxhighlight lang="delphi"> | <syntaxhighlight lang="delphi"> | ||
− | + | MWBuffer1.First; | |
while not MWBuffer1.Eof do begin | while not MWBuffer1.Eof do begin | ||
Memo1.Lines.Add(MWBuffer1.RecordToString); | Memo1.Lines.Add(MWBuffer1.RecordToString); |
Latest revision as of 14:55, 14 May 2011
Main page -> Midware component reference -> TMWBuffer -> Eof
Definition
property Eof: Boolean;
Description
Eof property is TRUE when current position has reached end of file. See also Bof, First, Last, Next and Prior methods.
Example
The following code iterate MWBuffer data starting from first record up to last record. <syntaxhighlight lang="delphi">
MWBuffer1.First; while not MWBuffer1.Eof do begin Memo1.Lines.Add(MWBuffer1.RecordToString); MWBuffer1.Next; end;
</syntaxhighlight>