Anonymous user
Arithmetic/Integer: Difference between revisions
FALSE
(→{{header|Modula-3}}: ++ metafont) |
(FALSE) |
||
Line 199:
This example illustrates the use of cleave and apply combinators to alleviate the usage of shuffle words in a concatenative language. bi@ applies a quotation to 2 inputs and 2cleave applies a sequence of quotations to 2 inputs.
=={{header|FALSE}}==
12 7
\$@$@$@$@$@$@$@$@$@$@\ { 6 copies }
"sum = "+."
difference = "-."
product = "*."
quotient = "/."
modulus = "/*-."
"
=={{header|Forth}}==
|