pspp-users
[Top][All Lists]
Advanced

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

Re: Is it a bug or a feature


From: John Darrington
Subject: Re: Is it a bug or a feature
Date: Wed, 15 May 2013 07:10:42 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, May 14, 2013 at 11:47:25PM +0000, Crichton, Ronald wrote:
     I found an interesting thing.  With this piece of code you will note the 
only essential difference is that variable e329 is repeated in one and not in 
the other.  However, the output of both is identical.  The command ignores the 
repeated variable.  It may be that a user might want to see the variable twice, 
maybe not.  The thing is the command doesn't report what it was asked to do.  
Of course, there would be easy ways around this, but I just wanted to note it 
for your consideration.
     
     get file VLL.
     
     save translate
                     /outfile = 'I:\SUPPORT_COMMON\Statistics 
Unit\PLANNING\POLICY\STATS\2012\2012 whole year data verification\VLL_TEMP1.txt'
                     /type = TAB
                     /replace
                     /keep = e329 e329 e477 e358 e490 e577 eftsl.
     execute.
     
     save translate
                     /outfile = 'I:\SUPPORT_COMMON\Statistics 
Unit\PLANNING\POLICY\STATS\2012\2012 whole year data 
verification\VLL_TEMP1b.txt'
                     /type = TAB
                     /replace
                     /keep = e329 e477 e358 e490 e577 eftsl.
     execute.
     
     
     
I would say it is a "feature".   Having a variable twice in the output would 
just waste space in the output file (and
might confuse some readers, when two columns with the same name were 
encountered).  If somebody really wanted to have
another column with the same values, then it would be easy for them to add a 
line like:

COMPUTE e329_2nd = e329.
     

Maybe we should update the documentation of this section to explain better how 
KEEP / DROP works.
     

     -----------------------------------------------------------------------
     This email, and any attachments, may be confidential and also privileged. 
If you are not the intended recipient, please notify the sender and delete all 
copies of this transmission along with any attachments immediately. You should 
not copy or use it for any purpose, nor disclose its contents to any other 
person.
     -----------------------------------------------------------------------


Reminder:  Please don't post to this list with those kind of "disclaimers".   
It 
is thretening and intimidating to other users.  When you post a message to this 
list, you implicitly give permission for EVERYONE to make UNLIMITED copies for 
ANY purpose.  (Also, most jurists are of the opinion that they have little, if 
any, legal effect).

If you can't do it yourself, please ask your sysadmin to remove this appendage.


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net 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]