numere-org / NumeRe

Framework for numerical computations, data analysis and visualisation
https://www.numere.org
GNU General Public License v3.0
20 stars 7 forks source link

Support multiple (different) return values from procedures #254

Open numeredev opened 2 months ago

numeredev commented 2 months ago

DESCRIPTION

What does your feature request improve on? Please describe. The new kernel update now distinguishes between {x,y,z,...} (= one result) and x,y,z,... (=multiple results). Having the possibility to use the second syntax to return multiple different values from procedures would be nice.

Describe the solution you'd like Enable a syntax allowing for catching multiple different values into a common target, e.g.

{x,y,z} = {1,2,3} ## using VarArray
[A,B,C] = 1,2,3 ## using s.th. like a target vector containing VarArrays

Additional context Add any other context or screenshots about the feature request here.

(Do not write below this line)


DEVS' SECTION

ANALYSIS

(Describe, what's the issue and which changes have to be made)

IMPLEMENTATION STEPS

(see also our Wiki for implementation guidelines)

DOCUMENTATION STEPS

(see also our Wiki for further information)

PULL REQUEST