📄 gs_fileinfo.hlp
字号:
{smcl}
{* 10mar2005}{...}
{cmd:help gs_fileinfo}{right:also see: {help undocumented}}
{hline}
{title:Title}
{p 4 21 2}
{cmd:gs_fileinfo} {hline 2} Subroutine to obtain information about .gph file
{title:Syntax}
{p 8 16 2}
{cmd:gs_fileinfo}
{it:filename}
[{cmd:,}
{cmd:suffix}
]
{title:Description}
{pstd}
{cmd:gs_fileinfo} returns whether {it:filename} is old, asis, or live and,
if it is live, returns additional information including the command that
generated the graph.
{title:Option}
{phang}
{cmd:suffix}
specifies that {it:filename} is to be suffixed with {cmd:.gph}
if it does not already contain a suffix.
{title:Remarks}
{pstd}
{cmd:gs_fileinfo} produces no output except for error messages.
{pstd}
{cmd:gs_fileinfo} is implemented in terms of {cmd:gs_filetype}; see
{helpb gs_filetype}.
{title:Saved results}
{pstd}
Returned in r() is
local {cmd:r(fn)} {it:filename} or {it:filename}{cmd:.gph}
local {cmd:r(ft)} "{cmd:old}", "{cmd:asis}", or "{cmd:live}"
{pstd}
and, if {cmd:r(ft)}=="{cmd:live}",
scalar {cmd:r(fversion)} file format
scalar {cmd:r(cversion)} code format
local {cmd:r(scheme)} scheme name
local {cmd:r(ysize)} {cmd:ysize()} value
local {cmd:r(xsize)} {cmd:xsize()} value
local {cmd:r(command)} command
local {cmd:r(command_date)} date on which command was run
local {cmd:r(command_time)} time at which command was run
local {cmd:r(family)} family to which command belongs
local {cmd:r(dtafile)} .dta file in memory at command_time
local {cmd:r(dtafile_date)} .dta file date
{pstd}
Note that any of {cmd:r(command)}, ..., {cmd:r(dtafile_date)}
may be undefined, so refer to contents using macro quoting.
{title:Also see}
{psee}
Online:
{helpb gs_graphinfo};
{helpb gs_filetype};
{helpb graph describe}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -