Date: Thu, 16 Aug 2001 09:03:46 -0400
Reply-To: Raynald Levesque <rlevesque@VIDEOTRON.CA>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Raynald Levesque <rlevesque@VIDEOTRON.CA>
Subject: Re: SPSS Syntax for creating new variables.
In-Reply-To: <LPBBKCCHPNIPGOFIBCMIIEAICFAA.sean@spss.com.sg>
Content-Type: text/plain; charset="iso-8859-1"
Hi
This does it
INPUT PROGRAM.
LOOP id=1 TO 10.
END CASE.
END LOOP.
END FILE.
END INPUT PROGRAM.
LIST.
Regards
Raynald Levesque rlevesque@videotron.ca
Visit My SPSS Pages: http://pages.infinit.net/rlevesqu/index.htm
-----Original Message-----
From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU]On Behalf Of
Sean Tan
Sent: Thursday, August 16, 2001 5:55 AM
To: SPSSX-L@LISTSERV.UGA.EDU
Subject: SPSS Syntax for creating new variables.
Greetings to everyone,
I need some help on writing a syntax to create 10 rows with 1 col containing
the numbers 1, 2, 3, 4, ....
E.G.
--------------------------
Test
1
2
3
.....
?
---------------------------
Can we write a syntax to automate the above? Please advise. Thank you very
much!
Kind Regards
Sean Tan
|