📄 mf_c_lc.hlp
字号:
{smcl}
{* 29oct2004}{...}
{cmd:help mata c_lc}
{hline}
{* index c()}{...}
{* index date and time}{...}
{* index time and date}{...}
{title:Title}
{p 4 4 2}
{bf:[M-5] c() -- Access c() value}
{title:Syntax}
{p 8 8 2}
{it:scalar}
{cmd:c(}{it:string scalar name}{cmd:)}
{p 4 4 2}
returned is either a real or string scalar, depending on the value of
{it:name}.
{title:Description}
{p 4 4 2}
{cmd:c(}{it:name}{cmd:)} returns Stata's
c-class value; see {bf:{help creturn:[P] creturn}}.
{p 4 4 2}
Do not confuse {cmd:c()} with {cmd:C()}, which makes complex out of
real arguments; see {bf:{help mf_c:[M-5] C()}}.
{title:Remarks}
{p 4 4 2}
See
{bf:{help creturn:[P] creturn}} or, in Stata, type
{cmd:. creturn list}
{p 4 4 2}
to see what is stored in {cmd:c()}. Among the especially useful
{cmd:c()} values are
{it:string} {cmd:c("current_date")}
{it:string} {cmd:c("current_time")}
{it:string} {cmd:c("os")}
{it:string} {cmd:c("dirsep")}
{title:Conformability}
{cmd:c(}{it:name}{cmd:)}:
{it:name}: 1 {it:x} 1
{it:result}: 1 {it:x} 1
{title:Diagnostics}
{p 4 4 2}
{cmd:c(}{it:name}{cmd:)}
returns a string or real depending on the particular {cmd:c()} value
requested. If {it:name} is an invalid name or contains a name for which no
{cmd:c()} value is defined, returned is "".
{title:Source code}
{p 4 4 2}
Function is built-in.
{title:Also see}
{p 4 13 2}
Manual: {hi:[M-5] c()}
{p 4 13 2}
Online: help for
{bf:{help m4_programming:[M-4] programming}}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -