Thread:Sirebel/@comment-30967537-20180204155855

Hi Dave,

I hope you’re well.

I was looking at the above’s templates as I wanted to understand something and I noticed a few things ...
 * Given that the $group variables are static would it not be more efficient if they were only defined once i.e. in the header template?
 * The same applies to the $prev variables AND wouldnt it be better (just in case they change and to avoid typos) if (apart from $prevA) they were defined as the value of the previous $group variable?
 * What does   do? Obviously I know what it does! I’m referring to the 0 part.
 * Clever use of dynamic variable names,  , I had never considered that.

Best wishes,

Nick 