Skip to content

Multiple returns #41

@BeastyBlacksmith

Description

@BeastyBlacksmith

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions