📄 gs_filetype.hlp
字号:
{smcl}
{* 10mar2005}{...}
{cmd:help gs_filetype}{right:also see: {help undocumented}}
{hline}
{title:Title}
{p 4 21 2}
{cmd:gs_filetype} {hline 2} Subroutine to determine type of .gph file
{title:Syntax}
{p 8 16 2}
{cmd:gs_filetype}
{it:filename}
[{cmd:,}
{cmd:suffix}
]
{title:Description}
{pstd}
{cmd:gs_filetype} returns whether {it:filename} is old, asis, or live
format.
{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_filetype} produces no output except for the error messages:
{err:invalid file specification}
r(198);
{err:file ____ not found}
r(601);
{err:file ____ not a Stata .gph file}
r(610);
{err:file ____ is a new format that this version of Stata does}
{err:not know how to read}
{err: suggestion: type -update query-}
r(610);
{err:file ____ is an old format that Stata no longer knows}
{err:how to read}
r(610);
{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}"
local {cmd:r(olddtl)} "{cmd:real}" or "{cmd:emulation}", if {cmd:r(ft)}=="{cmd:old}"
scalar {cmd:r(fversion)} file format if {cmd:live}
scalar {cmd:r(cversion)} code format if {cmd:live}
{title:Also see}
{psee}
Online:
{helpb gs_fileinfo},
{helpb graph describe}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -