10 lines
195 B
Plaintext
10 lines
195 B
Plaintext
var std = import "std";
|
|
var print = std.print;
|
|
|
|
func main() {
|
|
match 2 {
|
|
1 -> { print("One") }
|
|
2 -> { print("Two") }
|
|
// If there is not a matching case continue
|
|
}
|
|
} |