Introduced in release: 1.0 Component: Generic Purpose:
Given two cash flow arrays, this routine either adds the first array to the second, subtracts the first array from the second, or removes all zero cash flows from the second array. "Subtracting" a cash flow simply subtracts the cash flow amount in the first array from the cash flow amount on the same date in the second array, possibly leaving it as zero.
A cash flow array consists of an array of months, an array of days, and an array of years, and an array of amounts. Each corresponding element of each array represents a cash flow (plus or minus) on a given date.
Results:
The second cash flow array (tot_) is altered and returned
Error Conditions:
Returned values should be ignored for a non-zero status. See Errors.