[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting case numbers

From: John Darrington
Subject: Getting case numbers
Date: Sat, 13 Nov 2004 10:44:35 +0800
User-agent: Mutt/1.5.4i


The examine cmd needs to report  case numbers for extreme values.

I thought that this could be done this way:

for(r = casefile_get_reader (cf);
    casereader_read (r, &c) ;
    case_destroy (&c) ) 
  const double weight = 
    dict_get_case_weight(default_dict, &c, &bad_weight_warn);

  const union value *val = case_data (&c, var->fv);
  const int case_no = case_num (&c, var->fv);


But case_num doesn't seem to do what I expected (and I was a bit
surprised that it's defined to return double).  So obviously I'm doing
it wrong.

For a struct ccase , how do I find out its case number ??


PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See or any PGP keyserver for public key.

Attachment: pgpmAH4ezNqwF.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]