Arithmetic/Integer: Difference between revisions

Content added Content deleted
(incorrect!)
Line 456: Line 456:
{{incorrect|Clipper|Name of function not given.}}
{{incorrect|Clipper|Name of function not given.}}
=={{header|Clipper}}==
=={{header|Clipper}}==
<lang clipper>Function( a, b )
<lang clipper>procedure Test( a, b )
? "a+b", a + b
? "a+b", a + b
? "a-b", a - b
? "a-b", a - b
Line 466: Line 466:
// Exponentiation is also a base arithmetic operation
// Exponentiation is also a base arithmetic operation
? "a**b", a ** b
? "a**b", a ** b
Return Nil</lang>
return NIL</lang>


=={{header|Clojure}}==
=={{header|Clojure}}==