max = sys.get_max(<cbtot>);
max = sys.get_max(<cbvar>,<cbtot>);
max = sys.get_max(<CBNAME>,<cbvar>,<cbtot>);
Or more generally
max = sys.get_max([[<CBNAME>,]<cbvar>,]<cbtot>);
In most cases, sys.get_max() 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 max vals without needing
to be processing a particular CB Var Group or even a particular CB.