I'm not sure what you mean by accumulator, but why can't you just reset all class fields to zero or as would be appropriate for each data type? Or, you can start with a fresh object with all values...
Type: Posts; User: GregBrannon
I'm not sure what you mean by accumulator, but why can't you just reset all class fields to zero or as would be appropriate for each data type? Or, you can start with a fresh object with all values...
Please read the Announcement topic at the top of the sub-forum to learn how to post code in code or highlight tags and other useful info for newcomers.