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

 
 

bug #15690: Refactor /MISSING subcommands.

Submitted by:  John Darrington <jmd>
Submitted on:  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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

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

John Darrington <jmd>
Project 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>
Project 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>
Project 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>
Project 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>
Project 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

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

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.5