allstmts.txt 323 Bytes
Newer Older
Alexander Weigl's avatar
Alexander Weigl committed
1 2 3
script fc() {
foreach { theonly {
    cases {
4
        case x = y :{
Alexander Weigl's avatar
Alexander Weigl committed
5 6
            print a 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22  2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2;
            print (1+2)*(3+2)/4 & match `f(x)` using [x:any];
Alexander Weigl's avatar
Alexander Weigl committed
7 8
        }

9
        default :{
Alexander Weigl's avatar
Alexander Weigl committed
10 11 12 13 14 15
            print `blubb`;
        }
    }
}
}
}