ChaiScript/unittests/mmd1.chai
2009-07-09 17:07:29 +00:00

21 lines
159 B
ChaiScript

def bob(x, y, z) {
x + y + z
}
def bob(x, y) {
x - y
}
def bob(x) {
-x
}
def bob() {
10
}
print(bob())
print(bob(5))
print(bob(5,6))
print(bob(5,6,7))