index 9829eb82b8476106b5017fb92406f34e903d5c91..a4fcd5700a0ae658d65cee5778ac8372b6e07e9d 100644 (file)
rpntutorial - Reading RRDtool RPN Expressions by Steve Rader
-=for html <div align="right"><a href="rpntutorial.pdf">PDF</a> version.</div>
-
=head1 DESCRIPTION
This tutorial should help you get to grips with RRDtool RPN expressions
Now let's go back to the first example of multiple logic operators,
but replace the value 20 with the variable "input":
-=for comment
-XXX wo kommt das A ploetzlich her? Hier braucht es einen Satz, dass A als
-XXX placeholder zum Lesbarmachen verwendet wird (shortcut).
-
- 1) input,10,GT,10,input,IF eval is input,10,GT result is A
+ 1) input,10,GT,10,input,IF eval is input,10,GT ( lets call this A )
Read eval as "if input > 10 then true" and replace "input,10,GT"
with "A":