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
def Main(start) (stop) {
Println, Gt<int>
---
if (10 == 50) {
then -> ('Actual is greater' -> println -> :stop)
else -> ('Actual is lower' -> println -> :stop)
}
}
About if-else branching
I was thinking about if {...} else {...} but there's a problem - we need to route signal from then/else outports to trigger downstream nodes, i.e. we need then -> and else -> stuff
PROBLEM
How should it work with deferred connections? We just omitted :start here!
At this point I'm more than sure that we don't need this, switch is already implemented in a way that it can completely replace it without any downsides and match will most likely do the same
See #724
Before
After
The text was updated successfully, but these errors were encountered: