📄 m2_reswords.hlp
字号:
{smcl}
{* 29mar2005}{...}
{cmd:help m2 reswords}
{hline}
{* index reserved words}{...}
{title:Title}
{p 4 4 2}
{hi:[M-2] reswords -- Reserved words}
{title:Syntax}
{p 4 4 2}
Reserved words are
{cmd}aggregate enum numeric super
array explicit operator switch
boolean export orgtypedef template
break external pointer this
byte float polymorphic throw
case for pragma transmorphic
catch friend private try
class function protected typedef
colvector global public typename
complex goto quad union
const if real unsigned
continue inline return using
default int rowvector vector
delegate local scalar version
delete long short virtual
do mata signed void
double matrix sizeof volatile
else namespace static while
eltypedef new string
end NULL struct{txt}
{title:Description}
{p 4 4 2}
Reserved words are words reserved by the Mata compiler; they may not be
used to name either variables or functions.
{title:Remarks}
{p 4 4 2}
Remarks are presented under the headings
{bf:Future developments}
{bf:Version control}
{title:Future developments}
{p 4 4 2}
Many of the words above are reserved for the future implementation of
new features. For instance, the words
{cmd:aggregate},
{cmd:array},
{cmd:boolean},
{cmd:byte},
etc., currently play no role in Mata except that they are reserved.
{p 4 4 2}
You cannot infer much about short-run development plans from the presence or
absence of a word from the list. The list was constructed by
including words that would be needed in order to add certain
features, but we have erred on the side of reserving too many words because it
is better to give back a word than to take it away later. Taking away a word
can cause previously written code to break.
{p 4 4 2}
In addition, features can be added without reserving words if the word
will only be used within a specific context. Our original list was
much longer, but then we struck from it such context-specific words.
{title:Version control}
{p 4 4 2}
Even if we should need to reserve new words in the future, you can ensure
that you need not modify your programs by engaging in version control;
see {bf:{help m2_version:[M-2] version}}.
{title:Also see}
{p 4 13 2}
Manual: {hi:[M-2] reswords}
{p 4 13 2}
Online: help for
{bf:{help m1_naming:[M-1] naming}};
{bf:{help m2_version:[M-2] version}};
{bf:{help m2_intro:[M-2] intro}}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -