Midware TMWBuffer.Rewrite

From Overbyte
Revision as of 15:20, 14 May 2011 by Marie (talk | contribs) (→‎Example)
(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>