You use an expression:
let msg =
case location
of locHere:
"I'm here!"
of loThere:
"You're there!"
Run
- How to declare a varible in a case statement for use afterwrad... ElegantBeef
You use an expression:
let msg =
case location
of locHere:
"I'm here!"
of loThere:
"You're there!"
Run