📄 mf_displayflush.hlp
字号:
{smcl}
{* 31mar2005}{...}
{cmd:help mata displayflush()}
{hline}
{* index displayflush()}{...}
{title:Title}
{p 4 4 2}
{bf:[M-5] displayflush() -- Flush terminal-output buffer}
{title:Syntax}
{p 8 12 2}
{it:void}
{cmd:displayflush()}
{title:Description}
{p 4 4 2}
To achieve better performance, Stata buffers terminal output, so,
within a program, output may not appear when a {cmd:display()} or
{cmd:printf()} command is executed. The output might be held in a buffer
and displayed later.
{p 4 4 2}
{cmd:displayflush()} forces Stata to display all pending output at the
terminal. {cmd:displayflush()} is rarely used.
{title:Remarks}
{p 4 4 2}
See {bf:{help mf_printf:[M-5] printf()}} for an example of the use of
{cmd:displayflush()}.
{p 4 4 2}
Use of {cmd:displayflush()} slows execution. Use {cmd:displayflush()}
only when it is important that output be displayed at the terminal
now, such as when providing messages indicating what your program is
doing.
{title:Also see}
{p 4 13 2}
Manual: {hi:[M-5] displayflush()}
{p 4 13 2}
Online: help for
{bf:{help mf_printf:[M-5] printf()}},
{bf:{help mf_display:[M-5] display()}};
{bf:{help m4_io:[M-4] io}}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -