Difference between revisions of "FLUSH"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 26: Line 26:
 
for i = 1 to 5000
 
for i = 1 to 5000
 
   @13,1 say "Loop " + ltrim(str(i))
 
   @13,1 say "Loop " + ltrim(str(i))
flush
+
  flush
 
next
 
next
 
</code>
 
</code>

Revision as of 15:01, 17 March 2009

FLUSH

Class

Screen Forms


Purpose

Flushes the terminal buffer


Syntax

FLUSH


See Also

@...SAY, SET TBUFSIZE


Description

The flush command flushes all the characters in the terminal buffer to the terminal. To optimize terminal I/O, the Recital/4GL will buffer terminal I/O until a command that requires user input is issued, or the terminal buffer fills up. The terminal buffer size is determined by the SET TBUFSIZE command.


Example

for i = 1 to 5000
  @13,1 say "Loop " + ltrim(str(i))
  flush
next


Products

Recital Mirage Server, Recital Terminal Developer