In a Mathematica notebook, every line that doesn't end with ; will be displayed/ returned.
This is handled differently in MathLink where only one return value is possible.
MWE:
W```
a = 1;
b = 2
c = 3
``` |> weval
┌ Warning: Set::write: Tag Times in 2 c is Protected.
└ @ MathLink ~/.julia/packages/MathLink/6K9ao/src/eval.jl:16
3
I would expect to get the tuple (2, 3) back.
In a Mathematica notebook, every line that doesn't end with
;will be displayed/ returned.This is handled differently in
MathLinkwhere only one return value is possible.MWE:
I would expect to get the tuple
(2, 3)back.