X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdgraph_rpn.src;h=f9ac7fedb9959cb66390026df5dd1fe921009c20;hb=8ba25ed02f431d0ea29747eeabfaf3c032b3a18a;hp=7952a3f22e0899501c0fb47b443bb3017c3be8ea;hpb=5cbf604e8be474094aef371c53917ec9046bad32;p=rrdtool.git diff --git a/doc/rrdgraph_rpn.src b/doc/rrdgraph_rpn.src index 7952a3f..f9ac7fe 100644 --- a/doc/rrdgraph_rpn.src +++ b/doc/rrdgraph_rpn.src @@ -42,16 +42,12 @@ would do C and need no parentheses. B -I - Pop two elements from the stack, compare them for the selected condition and return 1 for true or 0 for false. Comparing an I or an I value will always result in 0 (false). B -I - Pop one element from the stack, compare this to I respectively to I. Returns 1 for true or 0 for false. @@ -127,6 +123,20 @@ set or otherwise the result of this B at the previous time step. This allows you to do calculations across the data. This function cannot be used in B instructions. +B + +Pushes an I value if this is the first value of a data +set or otherwise the result of vname variable at the previous time +step. This allows you to do calculations across the data. This +function cannot be used in B instructions. + +B + +Pushes the number 1 if this is the first value of the data set, the +number 2 if it is the second, and so on. This special value, allows +you to make calculations based on the position of the value within +the data set. This function cannot be used in B instructions. + Z<> =item Time