bugPSPP - Bugs: bug #15690, Refactor /MISSING subcommands.

 
 

bug #15690: Refactor /MISSING subcommands.

Submitter:  John Darrington <jmd>
Submitted:  Fri 10 Feb 2006 04:25:10 AM UTC
   
 
Category:  Other Severity:  3 - Ordinary
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  Before 0.6.0
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 05 Nov 2006 12:38:14 AM UTC, comment #4: 

Done.  We now have a casefilter structure to do this.

John Darrington <jmd>
Group administrator
Tue 26 Sep 2006 01:55:43 PM UTC, comment #3: 

My thought was simply to write a function that takes a set of variables, a case, and an enumeration.  Depending on the enumerated value specified, it would return true if any of the variables were missing, or if all of the variables were missing, or always return false regardless.

This could be combined with your approach: my function is usable as one of your predicates if done properly.

Ben Pfaff <blp>
Group administrator
Tue 26 Sep 2006 10:16:59 AM UTC, comment #2: 

My idea is to define a function type similar to

/* Return true if case should be skipped */
typedef bool (*skip_case_predicate_t) (const struct ccase *c);

... and then to add an argument to casefile_get_{destructive}_reader which is the predicate to determine if each call to casereader_next_{xfer} should skip a case.

John Darrington <jmd>
Group administrator
Mon 31 Jul 2006 02:04:08 AM UTC, comment #1: 

I have an idea for helping out with this.  I'll write up a patch when I get a chance.

Ben Pfaff <blp>
Group administrator
Fri 10 Feb 2006 04:25:10 AM UTC, original submission:  

Most procedures have a /MISSING subcommand.  A common algorithm should be developed to implement this, rather than each command having to handle it.

John Darrington <jmd>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-11-05 jmd StatusNone Fixed
    Assigned toblp None
    Open/ClosedOpen Closed
2006-07-31 blp Assigned toNone blp
    ReleaseNone Before 0.6.0

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code