[squeak-dev] Help with ImageSegments

Brent Pinkney brent at zamail.co.za
Fri May 1 18:29:51 UTC 2009


> 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



More information about the Squeak-dev mailing list