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
Priority:  5 - Normal Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  Before 0.6.0 Effort:  0.00
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

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.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

History

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.16-1eaf.
Corresponding source code