You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
display_results(true) echoes both the incoming expression/function call
from Excel and the value returned to it in the Julia console (green,
via printstyled); display_results() reads the current setting back.
Guards the echo's own display(result) call so a broken show() method
can't prevent a successful call's result from still reaching Excel.
Failed JuliaCall/JuliaEval calls now print in red instead of a plain
"====" divider, making them easier to spot in the console.
Also fixes a pre-existing test that hardcoded one particular Dict
iteration order, which isn't actually guaranteed by the language.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,12 @@
1
1
# Changelog
2
2
3
+
## [Unreleased]
4
+
5
+
### New features
6
+
7
+
- New `display_results` function: switch it on to echo, in the Julia console, both the expression or function call arriving from Excel and the value being returned to it - useful for seeing exactly what `JuliaCall`/`JuliaEval` are doing without leaving Excel.
8
+
- Clearer Julia console output when a `JuliaCall`/`JuliaEval` call fails: the error and the expression that caused it are now shown in colour, making them easier to spot among other console output.
println("Something went wrong calling the Julia function $fn_name from Excel, against arguments saved in JuliaExcel.args_from_xl (until overwritten by the next call), so the error should be reproducible from here with '$call_desc'.")
0 commit comments