Contact | Privacy | Datenschutzerklärung | Impressum


Format: flush ()

Purpose: Flushes the current output buffer.

Return Values: The flush() function does not return a useful value.


// The example shows how to use the flush function to
// flush a file buffer within a writefile tag or to
// flush the buffer of the output that is sent to the client.

<defenv complextask><for i=1 i<10000 i=i+1;/for></defenv>

<writefile shelltemp()+"/myfile">
<for t=1 t<10 t=t+1;complextask;?".";let flush();/for>
<for t=1 t<10 t=t+1;complextask;?".";let flush();/for>

Tip: The flush() function is useful in heitml applications that perform time consuming tasks and require something like a progress bar.

Note: The flush() function has no effect inside HTML tables, since browsers render a table after the complete table has been sent. This is the reason why we did not execute the example above.

See Also: writefile, ?.

This page was dynamically generated by the web application development tool RADpage of H.E.I. H.E.I. provides support, tools, and services like Webdesign in Mannheimm, the HTML/CSS 3D WebGL Animation Library taccgl, 3D Webdesign, and 3D Product Configurator (3D Produkt Konfigurator in German).

Selected blog articles : 3D Objects on HTML pages, CSS Transition Visibility, and CSS Transition Display.

© 1996-2024 H.E.I. All Rights Reserved.

Component Guide
  Language Guide
  Language Ref.
    General Design
    Lexical Structure
    heitml Tags
    heitml Functions
    Advanced Functions
    Database Access
    Global Variables
    Form Fields
    Server Variables
    heitml Syntax
  Component Ref.
  Class Library
  User Components
  New Features
  heitml 1
User Guide
Contact / Impressum