@vindex SPLIT FILE
@display
-Two possible syntaxes:
- SPLIT FILE BY var_list.
- SPLIT FILE OFF.
+SPLIT FILE [{LAYERED, SEPARATE}] BY var_list.
+SPLIT FILE OFF.
@end display
@cmd{SPLIT FILE} allows multiple sets of data present in one data
An independent analysis is carried out for each group of cases, and the
variable values for the group are printed along with the analysis.
+When a list of variable names is specified, one of the keywords
+LAYERED or SEPARATE may also be specified. If provided, either
+keyword are ignored.
+
Groups are formed only by @emph{adjacent} cases. To create a split
using a variable where like values are not adjacent in the working file,
you should first sort the data by that variable (@pxref{SORT CASES}).
+Sat Mar 12 13:29:21 2005 Ben Pfaff <blp@gnu.org>
+
+ * split-file.c: (cmd_split_file) Ignore LAYERED and SEPARATE
+ keywords (PR 11628).
+
Sat Mar 12 13:17:12 2005 Ben Pfaff <blp@gnu.org>
* vfm.c: (procedure_with_splits) Fix PR 11492: end_func() must be
struct variable **v;
int n;
+ /* For now, ignore SEPARATE and LAYERED. */
+ lex_match_id ("SEPARATE") || lex_match_id ("LAYERED");
+
lex_match (T_BY);
if (!parse_variables (default_dict, &v, &n, PV_NO_DUPLICATE))
return CMD_FAILURE;