Page 1 of 1
					
				lzw.lsp working?
				Posted: Fri Oct 23, 2009 4:47 pm
				by cormullion
				I'm trying to get peter's lzw.lsp code working (
http://www.turtle.dds.nl/newlisp/index.html). Although I've changed the 
inc functions for v 10.1, I can't seem to get a file to compress and decompress OK. The code is complicated to understand (all that bit-shifting is hard to follow). Can anyone get this working?
 
			 
			
					
				Re: lzw.lsp working?
				Posted: Fri Oct 23, 2009 4:57 pm
				by Lutz
				Change also the two instances of:
to:
 
			 
			
					
				Re: lzw.lsp working?
				Posted: Fri Oct 23, 2009 6:21 pm
				by cormullion
				Isn't that only in the self-extracting function, though?
			 
			
					
				Re: lzw.lsp working?
				Posted: Fri Oct 23, 2009 6:58 pm
				by Lutz
				Haven't tried the program, just read through it to discover 10.0 incompatibilities.  Apart from the 'inc', I only could find 'write-line' which swapped parameters.