input program.
loop #i=1 to 500.
compute id = #i.
end case.
end loop.
end file.
end input program.
execute.
-----Original Message-----
From: SPSSX(r) Discussion [mailto:
[hidden email]] On Behalf Of Jim Moffitt
Sent: Monday, September 11, 2006 11:26 AM
To:
[hidden email]
Subject: Syntax to Create X Cases
I want to take an empty data editor and run some syntax that will create
a variable named ID that contains 500 consecutive integers (or 1000
consecutive integers or whatever other number I specify).
In other words, I want to create a specified number of cases in an
otherwise empty data editor.
How would I do that?
Thanks