From: oetiker Date: Tue, 8 Dec 2009 08:56:06 +0000 (+0000) Subject: yet another try to get the rpn example right ... #246 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8dca6d73b8bd11ebf43673203339876e5e17c4c1;p=rrdtool-all.git yet another try to get the rpn example right ... #246 git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1986 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/doc/rpntutorial.pod b/program/doc/rpntutorial.pod index caa8451c..0ab31317 100644 --- a/program/doc/rpntutorial.pod +++ b/program/doc/rpntutorial.pod @@ -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":