<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="4">I adapted to your suggestion and it does not work
with more complex tree of objects.</font></p>
<p><font size="4">Still the same error with, GZipWriteStream does
not implement <b>next</b></font></p>
<p></p>
<div
style="background: #f8f8f8; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;">
<pre style="margin: 0; line-height: 125%;"><span></span><span
style="color: #00F">dumpOnCompressedFile:</span> <span
style="color: #19177C">aFileEntry</span> <span style="color: #00F">object:</span> <span
style="color: #19177C">anObject</span>
<span style="color: #3D7B7B; font-style: italic">"Warning: If the file given by aFileEntry exists, it will be overwritten."</span>
<span style="color: #19177C">aFileEntry</span> <span
style="color: #00F">forceWriteStreamDo:</span> [ <span
style="color: #666">:</span><span style="color: #19177C">fileStream</span> <span
style="color: #666">|</span> <span style="color: #666">|</span><span
style="color: #19177C"> compressor </span><span
style="color: #666">|</span>
<span style="color: #19177C">compressor</span> <span
style="color: #666">:=</span> <span
style="color: #00F; font-weight: bold">GZipWriteStream</span> <span
style="color: #00F">on:</span> <span style="color: #19177C">fileStream</span>.
(<span style="color: #008000">self</span> <span style="color: #00F">on:</span> <span
style="color: #19177C">compressor</span>) <span
style="color: #00F">nextPut:</span> <span style="color: #19177C">anObject</span>.
<span style="color: #19177C">compressor</span> <span
style="color: #00F">close</span>]
</pre>
</div>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://mamot.fr/@drgeo">http://mamot.fr/@drgeo</a></pre>
</body>
</html>