LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2003)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 24 Sep 2003 14:02:30 +0100
Reply-To:     David Hutton <David.Hutton@cem.dur.ac.uk>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         David Hutton <David.Hutton@cem.dur.ac.uk>
Subject:      Re: 1,2,3...
Content-Type: text/plain; charset="iso-8859-1"

Hi, Slawek.

Try this syntax.

COMPUTE ID = 0 . IF (ID=0) ID = $casenum. EXECUTE .

David.

-----Original Message----- From: Slawek Zielinski [mailto:s.zielinski@surrey.ac.uk] Sent: 24 September 2003 10:16 To: SPSSX-L@LISTSERV.UGA.EDU Subject: 1,2,3...

Hello Everyone,

I have a simple question. How can I generate a new variable containing consecutive integer numbers (see below)?

1 2 3 4 5 6 etc.

Many thanks for your help.

Slawek


Back to: Top of message | Previous page | Main SPSSX-L page