Table of Contents

Reporter Basic Sum function (Reporting and Printing)

Created at 13 APR 1998 04:05PM

Problem:  The Reporter Basic Sum function doesn't calculate correctly, if used more than once in a formula.  For example:

 

answer = sum(a) + sum(b)

 

Solution: This is invalid syntax.  The Reporter Basic Sum function must be equated to a single variable.  The correct syntax is:

 

xa = sum(a)

xb = sum(b)

answer = xa + xb