10 lines
150 B
ChaiScript
10 lines
150 B
ChaiScript
def bob(x, y) : x > 10 { x - y }
|
|
|
|
def bob(x, y) : x > 5 { x - y + 10 }
|
|
|
|
def bob(x, y) { x + y }
|
|
|
|
print(bob(3, 4))
|
|
print(bob(6, 7))
|
|
print(bob(11, 12))
|