pspp-dev
[Top][All Lists]
Advanced

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

Blank string values.


From: John Darrington
Subject: Blank string values.
Date: Fri, 10 Sep 2010 14:58:35 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

From what I remember playing with SPSS (I no longer have a system to use)
I remember two things:
String values cannot be empty, every alpha value contains the number of
bytes corresponding to its width.  However a string variable which contains
only whitespace is treated as if it were empty.

This raises the question: Should we special case the value_hash function, such 
that it returns the same hash for blank values regardless of their width?
Likewise, value comparisions should perhaps treat fully blank values as 
identical.

Introducing these kind of special cases seems rather kludgy to me. But is 
perhaps
necessary for compatibility reasons.

What do people think?

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