yet another try to get the rpn example right ... #246
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 8 Dec 2009 08:56:06 +0000 (08:56 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 8 Dec 2009 08:56:06 +0000 (08:56 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1986 a5681a0c-68f1-0310-ab6d-d61299d08faa

doc/rpntutorial.pod

index caa8451..0ab3131 100644 (file)
@@ -86,10 +86,9 @@ Let's read a complex RPN expression that also has the traditional
 multiplication operator:
 
  1) 128,8,*,7000,GT,7000,128,8,*,IF  eval 128,8,*       result is 1024
- 2) 1024,7000,GT,7000,128,8,*,IF     eval 1024,7000,GT  result is 0
- 3) 0,7000,0,128,8,*,IF              eval 128,8,*       result is 1024
- 4) 0,7000,1024,IF                                      result is 1024
-
+ 2) 1024   ,7000,GT,7000,128,8,*,IF  eval 1024,7000,GT  result is 0
+ 3) 0,              7000,128,8,*,IF  eval 128,8,*       result is 1024
+ 4) 0,              7000,1024,   IF                     result is 1024
 
 Now let's go back to the first example of multiple logic operators,
 but replace the value 20 with the variable "input":