[squeak-dev] Help with ImageSegments

Bert Freudenberg bert at freudenbergs.de
Fri May 1 18:37:25 UTC 2009


On 01.05.2009, at 20:29, Brent Pinkney wrote:

>> writing:
>>
>> writeTrainingsSamples
>>        "write the class var TrainingsSamples to a file using  
>> ReferenceStreams"
>>        | rr |
>>        rr := ReferenceStream fileNamed: 'trainingssamples.obj'.
>>        rr nextPut: TrainingsSamplesFehlerkategorien   
>> trainingsSamples .
>>        rr close.
>>        rr := nil
>>
>> reading:
>>
>> readTrainingsSamples
>>        "read the class var TrainingsSamples from a file using  
>> ReferenceStreams "
>>        | rr |
>>        rr := ReferenceStream fileNamed: 'trainingssamples.obj'.
>>        TrainingsSamplesFehlerkategorien  trainingsSamples:  rr next.
>>        rr close.
>>        rr := nil
>
> Thanks,
> Interestingly there is not mention in this example of ImageSegment  
> or SmartRefStream.
> Are these classes abandoned ?
>
> Brent

I don't think ReferenceStream makes use of ImageSegments.

- Bert -





More information about the Squeak-dev mailing list