home *** CD-ROM | disk | FTP | other *** search
-
- "
- CALC.MSE, Version 1.4
-
- This is a very simple integer calculator. It will compute the sum,
- difference, product, quotient and modulus of two numbers entered at the
- terminal.
-
- Enter your first number: " ? a :
- "
- Enter your second number: " ? b :
-
- "!"
-
- #M , a , b , c , '+ ; #M , a , b , c , '- ;
- #M , a , b , c , '* ; #M , a , b , c , '/ ;
- #M , a , b , c , '\ ;
-
- "
-
- Again? " ?' r : r . 'y - r . 'Y - * 0 = [ &CALC& ] "!"
-
- $M 1 % . 2 % .
- 4 % '+ = [ + ] 4 % '- = [ - ] 4 % '* = [ * ] 4 % '/ = [ / ] 4 % '\ = [ \ ]
- 3 % : "!" 1 % . ! 4 % !' 2 % . ! " = " 3 % . ! "!"
- @
-