Midware TMWBuffer.Rewrite
Jump to navigation
Jump to search
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>