DialogProlog

DialogProlog

Dialog 的一个选项,用来给出在开始对话之前计算的表达式.

更多信息

  • 必须使用一个形式为 DialogProlog:>expr 的延迟规则来避免 expr 过早赋值.
  • DialogProlog 给出的表达式在符号值局部化之后,以及作为 Dialog 的自变量给出的任何表达式之前就进行计算.

范例

基本范例  (1)

输入一个对话,第一次输出堆栈:

从对话返回:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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