⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 window_push.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 26jan2005}{...}
{cmd:help window push}
{hline}

{title:Title}

{p2colset 5 20 22 2}{...}
{p2col :{hi:window push} {hline 2}}Copy command into Review window{p_end}
{p2colreset}{...}


{title:Syntax}

{p 8 18 2}
{opt win:dow} {opt push} {it:command-line}


{title:Description}

{pstd}
{cmd:window} {cmd:push} copies the specified {it:command-line} onto the
end of the command history.  {it:command-line} will appear as the most
recent command in the {cmd:#review} list and will appear as the last command
in the Review window.


{title:Remarks}

{pstd}
{cmd:window} {cmd:push} is useful when one Stata command creates another Stata
command and executes it.  Normally, commands inside ado-files are not added to
the command history, but an ado-file such as a dialog interface to a Stata
command might exist solely to create and execute another Stata command.

{pstd}
{cmd:window} {cmd:push} allows the interface to add the created command to the
command history (and therefore to the Review window) after executing the
command.

     {hline 50} top of example.do {hline 3}
     {cmd}program example
         version 9
         display "This display command is not added to the command history"
         display "This display command is added to the command history"
         window push display "This display command is added to the command /*
             */ history"
     end{txt}
     {hline 50} end of example.do {hline 3}

     {cmd}. example
     This display command is not added to the command history
     This display command is added to the command history

     . #review
     3
     2 example
     1 display "This display command is added to the command history"

     .{txt}


{title:Also see}

{psee}
Online:  {helpb #review}; {help window programming}{p_end}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -