|
SOLUTIONS
|
MATHEMATICA 内置符号
SelectionEvaluate
SelectionEvaluate[notebook]
使用童工计算内核中所选中的内容得到的结果替代笔记本中的当前选择.
SelectionEvaluate[notebook, sel]
在计算之后,将当前选择设定为 sel 指定的内容.
更多信息更多信息
- SelectionCreateCell 的第一个参数是一个 NotebookObject 对象.
- sel 的可能设置和 NotebookWrite 一样.
- sel 的默认是
. - 除非 sel 是 None,计算完成后的当前选择通常是 sel 指定的内容,甚至在计算过程中,您在前端交互方式下移动选定.
版本 3 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
