pspp-dev
[Top][All Lists]
Advanced

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

Re: Psppire GUI status


From: John Darrington
Subject: Re: Psppire GUI status
Date: Fri, 4 Nov 2005 12:24:20 +0800
User-agent: Mutt/1.5.9i

On Thu, Nov 03, 2005 at 06:58:31PM -0800, Ben Pfaff wrote:
     
     > *    Adjust column widths --- the width in the data sheet should
     >      automatically update when you enter a new value, and vici-versa. 
     
     It's not clear to me that this is working.  When I change the
     "width" entry for a variable from 8 to something else (by
     clicking on it, typing a new width, and pushing Enter), it snaps
     back to 8 for me.  Seems to happen for both string and numeric
     fields.

I noticed something similar.  Does this happen only when you change to a 
smaller width or also when you change to a larger one?  It seems that the
data sheet insists that the title fits in the column, so resizes it back to 
a larger value.  Try changing it to something large, or try making the variable
name shorter.
     
     
     > *    Enter data in the data sheet (but don't expect it to be properly
     >      formated).
     > *    Save data to a system file  --- should create a good file, so long
     >      as the data is good (currently there's nothing to stop you entering 
     >      invalid data in the data sheet --- eg letters in numeric variables).
     
     I think something is wrong here.  I created three variables--one
     numeric and two string, entered a single case (123, abc, def),
     and saved it.  GET in PSPP then reports:
     
         PSPP> get 'x'. 
         error: corrupt system file: x: String variable A has numeric format 
specifier
                 F.
         warning: This command not executed.
         warning: The rest of this command has been discarded.
     
That happens for me on one of my 2 machines, but not the other.  So probably 
there's something not initialised that ought to be.
The relevant code is at the bottom of data_sheet.c  --- and I'm not sure if
I'm using the data_in function correctly.  
What is the purpose of the f1 and f2 members of struct data-in ?  I couldn't 
work it out from the comments in data_in.[ch]

That bit of the psppire code certainly need attention.

J'

-- 
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]