X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frpntutorial.pod;h=0ab3131752669110447fa00765fd0d1fdba7be55;hb=65b54b38e49ad2b56672111c039a5777cea98e40;hp=caa8451cdca1d37c13f6f0ec64ec33e5455498e5;hpb=b8f74178875e53a618fb000a5c781f57884c57b7;p=rrdtool.git 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":