prev, prev2

These keywords are used to create transforms with recursive definitions. They access the output value from the previous row, or from two rows previous. For example, Fibonacci numbers could be calculated by
$if($row<=2,1,$prev+$prev2)
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.