Catch[expr]返回在运行 expr 时产生的第一个 Throw 的参数.
Catch[expr, form]返回 form 匹配 tag 的第一个 Throw[value, tag] 中的 value.
Catch[expr, form, f]返回 .
一运行 Throw ,就退出最接近的 Catch:
定义一个可以"抛出异常"的函数:
Catch 的结果正是被 Throw 抛出的:
当判别式被满足时,利用 Throw 退出循环:
Throw Check CheckAbort Reap
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »