Sorry -- don't know if this site is one to report potential bugs. Developed the follow *.sps syntax file via my spreadsheet. It creates empty lines as indicated in the structure below. If you have empty lines PSPP doesn't toss them out -- instead it reports missing or expected command for the empty lines and thus does not read in the else or the into and thus recodes my original data variable not the new target. blank lines should just be ignored by the program...thanks
get /file= "c:\ssci210\lectures\02\addendum.sav" string cityRecoded (a20). recode city ( 'Captain Cook' = 'HAW' ) ( 'Hilo' = 'HAW' ) ( 'Waialua' = 'OAH' ) --empty --empty (else = '$$$') into cityRecoded. save outfile = "c:\ssci210\lectures\02\addendum.sav" frequencies /variables=cityRecoded /format=AVALUE TABLE. -- View this message in context: http://old.nabble.com/Bug-tp34884661p34884661.html Sent from the Gnu - PSPP - Users mailing list archive at Nabble.com. _______________________________________________ Pspp-users mailing list [email protected] https://lists.gnu.org/mailman/listinfo/pspp-users
