redrield
11/11/2017, 3:45 AMwhen
if the lhs matchesandyb
11/11/2017, 5:46 AMwhen
is a replacement for repeated 'if.. else if ..' or the switch
statement. What would be the return value from a when
statement if you could execute multiple branches?