Interpretation
更多信息和选项
![](Files/Interpretation.zh/details_1.png)
- Interpretation[{vars},e,expr] 同 DynamicModule 一样局部化变量.
- Interpretation 具有属性 HoldAll,但是在局部化变量之后立即计算 e. 只有当 Interpretation 对象作为 Wolfram 语言输入提供时,才计算 expr.
- Interpretation[{vars},e,expr] 允许下列选项,同 DynamicModule 中一样:
-
Deinitialization None 一个表达式,用来计算何时 Interpretation 不再被显示 DynamicModuleValues Automatic 动态更新变量值 Initialization None 一个表达式,用来计算何时 Interpretation 第一次显示 UndoTrackedVariables None 当改变时,应该用前端撤销机制跟踪的变量 UnsavedVariables {} 数值不应被保存的变量
范例
打开所有单元关闭所有单元基本范例 (2)常见实例总结
Copy to clipboard.
In[1]:=1
![](Files/Interpretation.zh/I_1.png)
✖
https://wolfram.com/xid/0cqzj51e-tzeszi
Direct link to example
Out[1]=1
![](Files/Interpretation.zh/O_1.png)
Copy to clipboard.
In[2]:=2
![](Files/Interpretation.zh/I_2.png)
✖
https://wolfram.com/xid/0cqzj51e-dlaxys
Direct link to example
Out[2]=2
![](Files/Interpretation.zh/O_2.png)
Copy to clipboard.
In[1]:=1
![](Files/Interpretation.zh/I_3.png)
✖
https://wolfram.com/xid/0cqzj51e-hasngn
Direct link to example
Out[1]=1
![](Files/Interpretation.zh/O_3.png)
Copy to clipboard.
In[2]:=2
![](Files/Interpretation.zh/I_4.png)
✖
https://wolfram.com/xid/0cqzj51e-rwjiy
Direct link to example
Out[2]=2
![](Files/Interpretation.zh/O_4.png)
范围 (2)标准用法实例范围调查
Copy to clipboard.
In[7]:=7
![](Files/Interpretation.zh/I_5.png)
✖
https://wolfram.com/xid/0cqzj51e-d1k8b4
Direct link to example
Out[7]=7
![](Files/Interpretation.zh/O_5.png)
Copy to clipboard.
In[8]:=8
![](Files/Interpretation.zh/I_6.png)
✖
https://wolfram.com/xid/0cqzj51e-iq8dxp
Direct link to example
Out[8]=8
![](Files/Interpretation.zh/O_6.png)
Copy to clipboard.
In[1]:=1
![](Files/Interpretation.zh/I_7.png)
✖
https://wolfram.com/xid/0cqzj51e-7h7wx2
Direct link to example
Out[1]=1
![](Files/Interpretation.zh/O_7.png)
Copy to clipboard.
In[2]:=2
![](Files/Interpretation.zh/I_8.png)
✖
https://wolfram.com/xid/0cqzj51e-745zvf
Direct link to example
Out[2]=2
![](Files/Interpretation.zh/O_8.png)
属性和关系 (3)函数的属性及与其他函数的关联
默认情况下,Interpretation 不对最后一个参数进行计算:
Copy to clipboard.
In[1]:=1
![](Files/Interpretation.zh/I_9.png)
✖
https://wolfram.com/xid/0cqzj51e-xqhwoa
Direct link to example
Out[1]=1
![](Files/Interpretation.zh/O_9.png)
Copy to clipboard.
In[2]:=2
![](Files/Interpretation.zh/I_10.png)
✖
https://wolfram.com/xid/0cqzj51e-687icw
Direct link to example
Out[2]=2
![](Files/Interpretation.zh/O_10.png)
默认情况下,Iconize 有特殊的外观且对最后一个参数进行计算:
Copy to clipboard.
In[1]:=1
![](Files/Interpretation.zh/I_11.png)
✖
https://wolfram.com/xid/0cqzj51e-byxqj9
Direct link to example
Out[1]=1
![](Files/Interpretation.zh/O_11.png)
Copy to clipboard.
In[2]:=2
![](Files/Interpretation.zh/I_12.png)
✖
https://wolfram.com/xid/0cqzj51e-dboc27
Direct link to example
Out[2]=2
![](Files/Interpretation.zh/O_12.png)
Interpretation 允许指定任意内容的表达式:
Copy to clipboard.
In[3]:=3
![](Files/Interpretation.zh/I_13.png)
✖
https://wolfram.com/xid/0cqzj51e-zir1gp
Direct link to example
Out[3]=3
![](Files/Interpretation.zh/O_13.png)
TextClipboardType 会影响 Interpretation 怎样被写入到系统的文本剪贴板:
Copy to clipboard.
In[1]:=1
![](Files/Interpretation.zh/I_14.png)
✖
https://wolfram.com/xid/0cqzj51e-eodp62
Direct link to example
Copy to clipboard.
In[2]:=2
![](Files/Interpretation.zh/I_15.png)
✖
https://wolfram.com/xid/0cqzj51e-lmokdi
Direct link to example
plain text
Copy to clipboard.
In[3]:=3
![](Files/Interpretation.zh/I_16.png)
✖
https://wolfram.com/xid/0cqzj51e-fekmt0
Direct link to example
"input text"
可能存在的问题 (1)常见隐患和异常行为
如果调用 Interpretation 可以解释为具有三个参数,就会变成:
Copy to clipboard.
In[1]:=1
![](Files/Interpretation.zh/I_17.png)
✖
https://wolfram.com/xid/0cqzj51e-qoshcw
Direct link to example
Out[1]=1
![](Files/Interpretation.zh/O_14.png)
Copy to clipboard.
In[2]:=2
![](Files/Interpretation.zh/I_18.png)
✖
https://wolfram.com/xid/0cqzj51e-b92g84
Direct link to example
Out[2]=2
![](Files/Interpretation.zh/O_15.png)
Wolfram Research (2007),Interpretation,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Interpretation.html (更新于 2014 年).
Copy to clipboard.
✖
Wolfram Research (2007),Interpretation,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Interpretation.html (更新于 2014 年).
文本
Wolfram Research (2007),Interpretation,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Interpretation.html (更新于 2014 年).
Copy to clipboard.
✖
Wolfram Research (2007),Interpretation,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Interpretation.html (更新于 2014 年).
CMS
Wolfram 语言. 2007. "Interpretation." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2014. https://reference.wolfram.com/language/ref/Interpretation.html.
Copy to clipboard.
✖
Wolfram 语言. 2007. "Interpretation." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2014. https://reference.wolfram.com/language/ref/Interpretation.html.
APA
Wolfram 语言. (2007). Interpretation. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/Interpretation.html 年
Copy to clipboard.
✖
Wolfram 语言. (2007). Interpretation. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/Interpretation.html 年
BibTeX
Copy to clipboard.
✖
@misc{reference.wolfram_2025_interpretation, author="Wolfram Research", title="{Interpretation}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/Interpretation.html}", note=[Accessed: 18-February-2025
]}
BibLaTeX
Copy to clipboard.
✖
@online{reference.wolfram_2025_interpretation, organization={Wolfram Research}, title={Interpretation}, year={2014}, url={https://reference.wolfram.com/language/ref/Interpretation.html}, note=[Accessed: 18-February-2025
]}