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.verplant.org/?a=commitdiff_plain;h=2c16b54029a3f5f08899c15d82c78a3a23d99e94;p=rrdtool.git yet another try to get the rpn example right ... #246 git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1986 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/doc/rpntutorial.pod b/doc/rpntutorial.pod index caa8451..0ab3131 100644 --- a/doc/rpntutorial.pod +++ b/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":