tot = sys.get_tot(<cbtot>);
tot = sys.get_tot(<cbvar>,<cbtot>);
tot = sys.get_tot(<CBNAME>,<cbvar>,<cbtot>);
Or more generally
tot = sys.get_tot([[<CBNAME>,]<cbvar>,]<cbtot>);
In most cases, sys.get_tot() will be used with one argument.
When used this way,
it will work with the current CB and the current
CB Var/EOF Group.
Optional arguments are allowed so that you can get running totals
without needing
to be processing a particular CB Var Group or even a particular CB.