Difference between revisions of "FLUSH"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Flushes the terminal buffer | Flushes the terminal buffer | ||
Line 15: | Line 8: | ||
==See Also== | ==See Also== | ||
− | [[@...SAY]], [[SET TBUFSIZE]] | + | [[!]], [[!!]], [[@...SAY]], [[SET TBUFSIZE]] |
Line 25: | Line 18: | ||
<code lang="recital"> | <code lang="recital"> | ||
for i = 1 to 5000 | for i = 1 to 5000 | ||
− | + | @13,1 say "Loop " + ltrim(str(i)) | |
− | flush | + | flush |
next | next | ||
</code> | </code> | ||
Line 32: | Line 25: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
+ | [[Category:Screen Forms]] | ||
+ | [[Category:Screen Forms Commands]] |
Latest revision as of 16:47, 11 November 2009
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