plugin.hlp

来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· HLP 代码 · 共 66 行

HLP
66
字号
{smcl}
{* 09feb2005}{...}
{cmd:help plugin}
{hline}

{title:Title}

{p2colset 5 19 21 2}{...}
{p2col :{hi:[P] plugin} {hline 2}}Load a plugin{p_end}
{p2colreset}{...}


{title:Syntax}

{p 8 16 2}
{cmdab:pr:ogram} {it:handle} , {cmd:plugin} [{cmd:using(}{it:filespec}{cmd:)}]


{title:Description}

{pstd}
In addition to using ado-files and Mata, you can add new commands to Stata
using the C language by following a set of programming conventions and
dynamically linking your compiled library into Stata.  The {cmd:program}
command with the {cmd:plugin} option finds plugins and loads (dynamically
links) them into Stata.


{title:Options}

{phang}
{opt plugin} specifies that plugins be found and loaded into Stata.

{phang}
{opt using(filespec)} specifies a file, {it:filespec}, containing the plugin.
If you do not specify {cmd:using()}, {cmd:program} assumes that the file is
named {it:handle}{cmd:.plugin} and can be found along the {help adopath}.


{title:Remarks}

{pstd}
Plugins are most useful for methods that require the greatest possible speed
and also involve heavy looping, recursion, or other computationally demanding
approaches.  They may also be useful if you have a solution that is already
programmed in C.

{pstd}
For complete documentation on plugin programming and loading compiled programs
into Stata, see

{pin}
      {browse "http://www.stata.com/plugins/"}


{title:Also see}

{psee}
Manual:  {bf:[P] plugin}

{psee}
Online:  
{helpb mata},
{helpb program}
{p_end}

⌨️ 快捷键说明

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