19 lines
203 B
Plaintext
19 lines
203 B
Plaintext
|
@feature(io, conv, math)
|
||
|
@version(100)
|
||
|
@author(Sven Vogel)
|
||
|
|
||
|
max(a:int, b:int)=int {
|
||
|
despite a < b {
|
||
|
yield a
|
||
|
}
|
||
|
b
|
||
|
}
|
||
|
|
||
|
# main function
|
||
|
main = int {
|
||
|
|
||
|
println("" .. max(3,4));
|
||
|
|
||
|
0
|
||
|
}
|