Look at the any and range functions.
-----Original Message-----
From: SPSSX(r) Discussion [mailto:
[hidden email]] On Behalf Of Michael W. Bates
Sent: Friday, September 18, 2009 5:30 PM
To:
[hidden email]
Subject: [SPSSX-L] "IN" List
Is there a way to specify an "in" list for SPSS without doing "if (var_x =
1 or var_x = 2 or var_x = 3 or var_x = 4)" etc?
I'm VERY new to SPSS and can't seem to find this.
Thx.
Michael Bates
[hidden email]
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD