pspp-dev
[Top][All Lists]
Advanced

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

Re: problem on select case


From: John Darrington
Subject: Re: problem on select case
Date: Thu, 22 Apr 2010 08:58:38 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

I'm not sure that in every instance, that appended "EXECUTE" would be what
the user wants, but it certainly would be desired for some use cases. It
would be interesting to find out what spss does.

In any event, that whole generate_syntax function needs to be rethought, as 
bug #29604 has demonstrated.

I am unlikely to get around to doing that in the near future.  So please
feel free to make whatever improvements are necessary.

J'


On Wed, Apr 21, 2010 at 02:34:13PM -0300, Michel Boaventura wrote:
     Hello,
     
     When I choose a sample on select cases, the generated syntax doesn't
     includes the "EXECUTE." subcomand, so I must use the option to run
     pending commands. I think that whould be great if this subcomand was
     included by default. The above path does that. I've tried and it seems
     to work well.
     
     Thank you
     
     Michel
     
     diff --git a/src/ui/gui/select-cases-dialog.c
     b/src/ui/gui/select-cases-dialog.c
     index 5b02782..689c162 100644
     --- a/src/ui/gui/select-cases-dialog.c
     +++ b/src/ui/gui/select-cases-dialog.c
     @@ -415,6 +415,7 @@ generate_syntax (const struct select_cases_dialog
     *scd)
      
             g_string_append_printf (string, "%d FROM %d .", n_cases,
     from_n_cases);
            }
     +    g_string_append (string, "\nEXECUTE.\n");
      
        }
        else if ( gtk_toggle_button_get_active
     
     
     
     
     _______________________________________________
     pspp-dev mailing list
     address@hidden
     http://lists.gnu.org/mailman/listinfo/pspp-dev

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


Attachment: signature.asc
Description: Digital signature


reply via email to

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