UnsavedVariables

UnsavedVariables

ManipulateDynamicModule 和相关函数的一个选项,指定当保存相应的笔记本时不应该保存的局部符号.

更多信息

  • 通常的使用方式为 UnsavedVariables:>{var1, var2,}.
  • 包含局部变量 varDynamicModule 将既不保存自身的值,也不保存与 var 相关的任何其它值.

范例

基本范例  (1)

创建一个含有普通 DynamicModule 表达式的笔记本:

读取笔记本,显示分配给 DynamicModuleBoxx 的值:

创建第二个笔记本,但将 x 列为未保存的变量:

读取笔记本,显示 x 未被赋值:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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