mirror of
https://github.com/WolframResearch/WolframLanguageForJupyter.git
synced 2025-04-17 04:06:06 +00:00
Add a comment attempting to explain the use of Internal`AllowExceptions
This commit is contained in:
parent
0fd044f0c4
commit
8208cbc746
@ -525,6 +525,11 @@ If[
|
||||
];
|
||||
|
||||
(* evaluate the expression string *)
|
||||
(* regarding Internal`AllowExceptions, we need to generate the results and messages that
|
||||
are expected when a user evaluation is interrupted by behavior such as an uncaught Throw
|
||||
statement, while making sure that the simulated evaluation loop is not interrupted by the
|
||||
same behavior; my hope is that we can achieve this by using Internal`AllowExceptions as
|
||||
essentially a version of CheckAll that does not silence messages such as Throw::nocatch *)
|
||||
result =
|
||||
Internal`AllowExceptions[
|
||||
ToExpression[
|
||||
|
Loading…
x
Reference in New Issue
Block a user