$MessagePrePrint

$MessagePrePrint

是一个全局变量,如果设置它的值,就在它们被包含在消息文本之前用于表达式.

更多信息

范例

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

基本范例  (1)

消息中的表达式以 TraditionalForm 的形式输出:

恢复缺省值. 现在表达式以 StandardForm 形式显示:

范围  (2)

局部定义 $MessagePrePrint,这样发送给消息的表达式在一个圆环内显示:

局部定义不影响 Block 外的消息:

将在计算中发送给消息的表达式制成列表:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_$messagepreprint, organization={Wolfram Research}, title={$MessagePrePrint}, year={1991}, url={https://reference.wolfram.com/language/ref/$MessagePrePrint.html}, note=[Accessed: 18-November-2024 ]}