How to convert numeric variables to string?

1

I have a series of 45 numeric variables that represent the right or wrong answers of a set of students (45 questions in all) and would like to create a single string with the 45 answers and would like to have a string Q_CN with all of them concatenated

Can anyone help? the program I use is IBM SPSS

    
asked by anonymous 08.07.2014 / 17:25

1 answer

0
STRING  Q_CN (A45).
COMPUTE Q_CN=CONCAT(VAR00001 TO VAR00045).
EXECUTE.
    
06.04.2015 / 20:15