[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: casereader numbering
From: |
John Darrington |
Subject: |
Re: casereader numbering |
Date: |
Wed, 23 Jul 2008 19:25:11 +0800 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Tue, Jul 22, 2008 at 10:13:31PM -0700, Ben Pfaff wrote:
John Darrington <address@hidden> writes:
> One thing that would make it easier would be a function of the form
>
> struct casereader * append_case_numbers (struct casereader *cr);
>
> which returns a new casereader which is identical to CR except that it
> has one extra column which contains the ordinal number of each case.
Here is a patch to try. I haven't had a chance to test it, but I
think that it should work. If it works for you I'll push it to
the repository.
On initial tests, it appears to work fine, except that I would have
expected casereader_get_value_cnt on the new casereader to return 1 more
than that of the old one. But that's not what I am experiencing.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature
- casereader numbering, John Darrington, 2008/07/17
- Re: casereader numbering, Jason Stover, 2008/07/17
- Re: casereader numbering, Ben Pfaff, 2008/07/18
- Re: casereader numbering, Ben Pfaff, 2008/07/23
- Re: casereader numbering,
John Darrington <=
- Re: casereader numbering, Ben Pfaff, 2008/07/23
- Re: casereader numbering, John Darrington, 2008/07/23
- Re: casereader numbering, John Darrington, 2008/07/24
- Re: casereader numbering, Ben Pfaff, 2008/07/24
- Re: casereader numbering, Ben Pfaff, 2008/07/26