Difference between revisions of "Midware TMWBuffer.Rewrite"
Jump to navigation
Jump to search
(Created page with ' Main page -> Midware component reference -> TMWBuffer -> Rewrite == Defi…') |
|||
Line 12: | Line 12: | ||
<syntaxhighlight lang="delphi"> | <syntaxhighlight lang="delphi"> | ||
− | + | begin | |
MWBuffer1.Rewrite; | MWBuffer1.Rewrite; | ||
MWBuffer1.WriteFields(TRUE, ['Hello', 'World']); | MWBuffer1.WriteFields(TRUE, ['Hello', 'World']); |
Latest revision as of 15:20, 14 May 2011
Main page -> Midware component reference -> TMWBuffer -> Rewrite
Definition
procedure Rewrite;
Description
Clear buffer content and prepare for new writing.
Example
<syntaxhighlight lang="delphi"> begin
MWBuffer1.Rewrite; MWBuffer1.WriteFields(TRUE, ['Hello', 'World']); ProcessRequest(MWBuffer1); MWBuffer1.Rewrite; MWBuffer1.WriteFields(TRUE, ['Another', 'Request']); ProcessRequest(MWBuffer1);
end; </syntaxhighlight>