See Crunch Automation basics for more information.
The CREATE NUMERIC ARRAY command takes a number of numeric variables and derives a new numeric array.
After the new variable is created, the input variables aren't eliminated, although they can be hidden.
The LABELS argument is not optional. But you do have the option of whether you want to specify each label now as you create it, or borrow from the DESCRIPTIONS of the contributing variables.
The HIDE INPUTS modifier is a handy way to move the contributing variables to the hidden folder. You generally do not need to refer to see the contributing variables in the variable tree again. Remember, you can still refer to contributing variables via their unique alias even if they are hidden.
Additionally, a list of aliases can be provided to identify the new subvariables. In case it is not provided, a disambiguated version of the inputs aliases will be assigned.
CREATE NUMERIC ARRAY alias, ..., alias [LABELS ("string", ..., "string"| COPY(DESCRIPTION)] [ALIASES alias, ..., alias] [HIDE INPUTS] AS alias [TITLE "string"] [DESCRIPTION "string"] [NOTES "string"];
CREATE NUMERIC ARRAY satisfaction_percent, disatisfaction_percent, quality_percent LABELS COPY(TITLE) HIDE INPUTS AS customer_evaluation TITLE "Customer ratings" DESCRIPTION "Percentages of customer satisfaction";