Hi everyone,

I'm having issues with a couple of my recoding commands and wonder if you could help.

I need to recode categorical variables, and have managed to successfully recode one of them, but the next ones have both had the same invalid syntax r198 error, but I cant figure out why.

I have attached a picture of my commands, the first one works, and the second two both come up with invalid syntax.


Array

Thanks so much for any help!
Daisy