Midware TMWBuffer.Rewrite

From Overbyte
Revision as of 19:38, 5 May 2011 by Marie (talk | contribs) (Created page with ' Main page -> Midware component reference -> TMWBuffer -> Rewrite == Defi…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>