FACTOR: Avoid assertion failures on syntax errors expecting numbers.
[pspp] / tests / language / stats / flip.at
index 508c9d91be5b17bf1fcae26bb97542b0b5fbfec6..2b7e234b4244f9812061abdc6979f76e50fc7506 100644 (file)
@@ -11,6 +11,8 @@ x1112131415
 y1617181920
 z2122232425
 end data.
+temporary.
+compute e = a.
 flip newnames=n.
 list.
 flip.
@@ -25,20 +27,23 @@ x,11,12,13,14
 y,16,17,18,19
 z,21,22,23,24
 
+flip.sps:12: warning: FLIP: FLIP ignores TEMPORARY.  Temporary transformations will be made permanent.
+
 Table: Data List
 CASE_LBL,v,w,x,y,z
 a       ,1.00,6.00,11.00,16.00,21.00
 b       ,2.00,7.00,12.00,17.00,22.00
 c       ,3.00,8.00,13.00,18.00,23.00
 d       ,4.00,9.00,14.00,19.00,24.00
+e       ,1.00,6.00,11.00,16.00,21.00
 
 Table: Data List
-CASE_LBL,a,b,c,d
-v       ,1.00,2.00,3.00,4.00
-w       ,6.00,7.00,8.00,9.00
-x       ,11.00,12.00,13.00,14.00
-y       ,16.00,17.00,18.00,19.00
-z       ,21.00,22.00,23.00,24.00
+CASE_LBL,a,b,c,d,e
+v       ,1.00,2.00,3.00,4.00,1.00
+w       ,6.00,7.00,8.00,9.00,6.00
+x       ,11.00,12.00,13.00,14.00,11.00
+y       ,16.00,17.00,18.00,19.00,16.00
+z       ,21.00,22.00,23.00,24.00,21.00
 ])
 AT_CLEANUP