numere-org / NumeRe

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

'leave' control flow command #19

Closed numeredev closed 1 year ago

numeredev commented 1 year ago

DESCRIPTION

What does your feature request improve on? Please describe. A leave control flow command would reduce the number of instructions necessary to break out of a nested control flow statement (consider multiple loops nested into each other: you would need to add a superfluous if statement into every loop checking for the value of a cancel var).

Describe the solution you'd like Provide a leave command analog to break, but it should leave a nested control flow structure completely.

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

(Do not write below this line)


DEVS' SECTION

ANALYSIS

The following things have to be done:

IMPLEMENTATION STEPS

(see also our Wiki for implementation guidelines)

DOCUMENTATION STEPS

(see also our Wiki for further information)

PULL REQUEST