Some time ago I wrote an auxiliary program called printf.exe that allows to perform floating point arithmetic operations; however, it is difficult to use...
I want to present now my new RPN.exe program. This application is comprised of several parts that provides different advantages in the same package. In its simplest form, it allows to perform floating point operations in Reverse Polish Notation in a very simple way. For example, to evaluate the algebraic expression (3+4) / (5+6) and store the result in a variable, just type:
Code: Select all
for /F %a in ('rpn 3 4 + 5 6 + /') do set "resul=%a"
If you download and use it, I'll appreciate if you post here any opinion or comment about the RPN.exe package.
Enjoy it!
Antonio
PS - The RPN package is best suited for young people of about 13-15 years old, that is, for any people capable of use (and program) an electronic calculator. If you know such a people and you want to introduce them to the computer programming world, I suggest you to pass to them a copy of RPN.zip package...