| |
flush
Purpose:
Flushes the current output buffer.
Return Values:
The flush() function does not return a useful value.
Example:
// 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>
</writefile>
<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-2023 H.E.I. All Rights Reserved.
|