Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Joel on Software
Message
De
16/05/2005 23:59:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01014573
Message ID:
01014752
Vues:
30
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform