IncludeDefinitions

IncludeDefinitions

是云和其他函数的一个选项,指定在部署表达式时是否应显式包含与表达式求值相关的当前定义.

更多信息

范例

打开所有单元关闭所有单元

基本范例  (3)

默认情况下,包括定义:

不包括当前内核会话中的定义,而是在需要时从云对象中加载:

CloudEvaluate 也支持 IncludeDefinitions. 比较包含和不包含定义的行为:

范围  (2)

对于 CloudPut,默认情况下不包含定义:

包含与表达式相关的定义:

应用  (1)

制作一个简单的网络应用程序,生成色带和值:

属性和关系  (1)

FilePrint 查看包含的定义:

可能存在的问题  (2)

当没有定义与符号关联时,IncludeDefinitions 设为 True 将复制空的定义,从而覆盖初始化文件中的定义:

IncludeDefinitions 设为 False 以避免覆盖初始化文件中的定义:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_includedefinitions, organization={Wolfram Research}, title={IncludeDefinitions}, year={2019}, url={https://reference.wolfram.com/language/ref/IncludeDefinitions.html}, note=[Accessed: 22-November-2024 ]}