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: OtherSeverity: 3 - Ordinary
Status: FixedAssigned to: None
Open/Closed: ClosedRelease: 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 File(s):
   
   
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 click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

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

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 05 Nov 2006 12:38:14 AM UTCjmdStatusNone=>Fixed
  Assigned toblp=>None
  Open/ClosedOpen=>Closed
Mon 31 Jul 2006 02:04:08 AM UTCblpAssigned toNone=>blp
  ReleaseNone=>Before 0.6.0

Back to the top


Powered by Savane 3.1-cleanup1