On Wed, May 03, 2006 at 08:04:07AM -0700, Ben Pfaff wrote:
     John Darrington <[EMAIL PROTECTED]> writes:
     
     > It seems that spss formats a 2551 byte string as 10 consecutive
     > 255-byte strings followed by a 103 byte string with the last 102 bytes
     > empty.  
     > Or in general a N byte string (where N > 255) is formated as 
     > (N div 252) consecutive 255 byte strings followed by a  8xsup(N - (N div
     > 252)x255/8) byte string (God knows why!).
     > When reading we just have to assume that there'll be "a number" of 255
     > byte strings, followed by a string <= 255 bytes in length.
     
     That is truly bizarre.  I will have to do some thinking about why
     it would do anything so zany.
     
     What do you mean by "xsup"?

Sorry.  8 x sup(...) means 8 multiplied by the supremum of ... 


One complication of reworking, is that sfm_open_reader will have to
modify the fv variable of all the very long strings.  I don't think
that's going to cause any problems, but I'm not sure ...

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: pgpqkt4Rlz8eC.pgp
Description: PGP signature

_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to