CompilerEnvironmentAppendTo

CompilerEnvironmentAppendTo[{def1,def2,}]

将声明附加到 $CompilerEnvironment.

CompilerEnvironmentAppendTo[env,{def1,def2,}]

将声明附加到 CompilerEnvironmentObject env.

更多信息

范例

基本范例  (2)

创建一个编译器环境并附加一个函数声明:

在编译中使用新的编译器环境:

编译使用函数声明:

在默认的编译器环境中使用 CompilerEnvironmentAppendTo

现在,无需使用 CompilerEnvironment 选项:

可以将默认编译器环境还原到其默认状态:

Wolfram Research (2021),CompilerEnvironmentAppendTo,Wolfram 语言函数,https://reference.wolfram.com/language/ref/CompilerEnvironmentAppendTo.html.

文本

Wolfram Research (2021),CompilerEnvironmentAppendTo,Wolfram 语言函数,https://reference.wolfram.com/language/ref/CompilerEnvironmentAppendTo.html.

CMS

Wolfram 语言. 2021. "CompilerEnvironmentAppendTo." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/CompilerEnvironmentAppendTo.html.

APA

Wolfram 语言. (2021). CompilerEnvironmentAppendTo. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/CompilerEnvironmentAppendTo.html 年

BibTeX

@misc{reference.wolfram_2024_compilerenvironmentappendto, author="Wolfram Research", title="{CompilerEnvironmentAppendTo}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/CompilerEnvironmentAppendTo.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_compilerenvironmentappendto, organization={Wolfram Research}, title={CompilerEnvironmentAppendTo}, year={2021}, url={https://reference.wolfram.com/language/ref/CompilerEnvironmentAppendTo.html}, note=[Accessed: 21-November-2024 ]}