CTABLES: Make EMPTY independent of other settings on CATEGORIES.
Frans Houweling reported that the following two commands behave
differently:
CTABLES /TABLE=class > datum BY size
/CATEGORIES VARIABLES=ALL EMPTY=EXCLUDE
/CATEGORIES VARIABLES=size TOTAL=YES.
CTABLES /TABLE=class > datum BY size
/CATEGORIES VARIABLES=size TOTAL=YES
/CATEGORIES VARIABLES=ALL EMPTY=EXCLUDE.
There was a good reason for this, which is that CATEGORIES always changes
all the category attributes of whatever variables are named. That is,
CATEGORIES VARIABLES=ALL overrides TOTAL even if EMPTY is the only
subcommand given. I don't know what SPSS does here, but this behavior is
surprising enough that I wanted to change it. This commit does that;
afterward, both of the above commands behave the same way, which
combines effects of TOTAL=YES and EMPTY=EXCLUDE for size and just
EMPTY=EXCLUDE for the class and datum.