bug-gnu-pspp
[Top][All Lists]
Advanced

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

Re: PSPP-BUG: import numeric variable


From: John Darrington
Subject: Re: PSPP-BUG: import numeric variable
Date: Mon, 17 Oct 2011 17:51:47 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

Thanks for the bug report.

My guess is that you have your locale set to something other than an English
one.  

This means that the (F9.2) format specified in your syntax will expect
a comma as the decimal seperator.  But your poids.dat file uses dots
as the decimal seperator.

You can fix the problem either by setting the LC_NUMERIC component of 
your locale to one which uses dot as the decimal seperator, OR by 
putting the following line at the top of your syntax file:

SET DECIMAL=DOT.

J'

On Mon, Oct 17, 2011 at 02:52:18PM +0200, Nadine SACHOT wrote:
     Hi,
     
     I have a problem.
     The the following program worked very well with version 6.2 . but with 
version
     7.8 the numeric variable doesn't  work
     Do you know why?
     The error message is: *poids.dat:1.14-1.22: warning: Data for variable 
POIDS
     is not valid as
     format F: Number followed by garbage.
     
     DATA LIST FILE="poids.dat" FREE/
         GKID (A12)
         POIDS (F9.2).
     SAVE OUT "poids.sav".
     *
     Attached poids.dat
     
     Thank you very much
     
     Nadine


     _______________________________________________
     Bug-gnu-pspp mailing list
     address@hidden
     https://lists.gnu.org/mailman/listinfo/bug-gnu-pspp


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