Short: Postfix Expression Calculator Author: Daniel Charles Kovacs Uploader: dkovacs@cyberbeach.net Type: misc/math This is a semi-functional postfix expression calculator for Amigados. What is postfix? The opposite of infix ;) Postfix expressions are written differently than regular expressions, but we have all done them in the past (as early as grade 1). Here is what I mean: Normal (infix) math: 2 + 2 = 4 Postfix 2 +2 -- 4 Operations always follow the numbers. Consider this evaluation: (3+4)*(2+3) = 35 it would be written in postfix (for the this program) 3 4 add 2 3 add mul The program offers the following operations: add, subtract, multiply, divide (with zero-checking), negate, absolute value, sine, cosine, tangent, inverse tangent, and PI. Usage: Double click on the postfix icon. A window will open awaiting your input, type help and press enter to get a list of operations. Type quit to exit the calculator, show to display the result and clear to empty the stack. Distribution: Give it to anyone, except not for money. Contact: Daniel Kovacs 106 Main St. Lion's Head Ontario Canada N0H 1W0 (519) 793 4431 (705) 523 0899 dkovacs@cyberbeach.net http://www.cyberbeach.net/~dkovacs ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 28392 11358 59.9% 04-Apr-98 11:22:16 PostFix 1263 731 42.1% 04-Apr-98 11:53:40 postfix.readme -------- ------- ----- --------- -------- 29655 12089 59.2% 05-Apr-98 19:15:36 2 files