Chris, I'm not sure what you're storing that needs to be compressed, but if it was a string like:
10011101011111111111111111111111111001 Where there are too many "1"s in a row, couldn't you do something like: replace "0" with "0," in tString replace "1" with "1," in tString giving you 1,0,0,1,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0, 0,1, That you could then compress and decompress? Then to get back your "original", you could: replace "," with "" in tString to get you back to: 10011101011111111111111111111111111001 Just a thought, Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Chris Sheffield > Sent: Wednesday, September 10, 2003 3:31 PM > To: [EMAIL PROTECTED] > Subject: RE: problems decompressing files > > > I think I found the answer to my own question. Apparently > there's a bug under OS X where if too many of the same > character in a row are compressed, you can't decompress the > file (bug #392 in Bugzilla). This is not a good bug. I'm > hoping it'll be fixed in an update very soon. My development > kind of depends on it. Anyone found a work around? > > Chris Sheffield > Software Development > Read Naturally > [EMAIL PROTECTED] > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Chris Sheffield > Sent: Wednesday, September 10, 2003 1:55 PM > To: [EMAIL PROTECTED] > Subject: problems decompressing files > > I'm just wondering if anyone else has ever had any problems > decompressing files under OS X. I've got a wav file that I > compressed using the compress command. Now when I try to > decompress it under OS X, the error dialog comes up saying > "error during decompression". The same file decompresses > fine under Windows and OS 9. I can't figure out what's going > on. It was even compressed originally under OS X. Anyone? > > Chris Sheffield > Software Development > Read Naturally > [EMAIL PROTECTED] > > > > > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-> revolution > > > > _______________________________________________ > > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-> revolution > _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
