Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Joel on Software
Message
From
16/05/2005 23:59:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01014573
Message ID:
01014752
Views:
27
>Okay - I bookmarked for future reference (have some XSS issues coming up), but, the author referred to "Hungarian" notation. I have also heard reference to "reverse Polish notation" (BAL and CPM).

Reverse Polish notation is used in calculators: first you store the numbers, then you speficy the operations.

In the usual scientific calculator, you would type:

1 + 2 =

and get the answer, 3.

In RPN, you would type something like:

1 ENTER 2 +

There is a special ENTER key, that pushes the numbers onto a stack.

I read somewhere that RPN calculators are easier to program; this may explain why older calculators use RPN. Also, I believe that once you get used to them, it is difficult to get accustomed to the algebraic kind - in my case, the reverse is true.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform