filestreams

Ned Konz ned at bike-nomad.com
Wed Feb 21 19:46:04 UTC 2001


On Wednesday 21 February 2001 10:25, fullramp parry wrote:

> "So I am trying to delete the middle chunk.  I have
> tried creating a new collection comprising the first
> sentence and the last and then writing this back over
> the top of the filestream, but then I get the residue
> from the orginal text stuck on the end.  )

You may have to delete (or rename) the original and write a new one. I don't 
see that there's enough information (for instance, the open mode) being 
passed to the primitive to actually get truncation to happen.

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com





More information about the Squeak-dev mailing list