Aug. 17, 2009
10:49 a.m.
I'm having trouble finding out if classic squeak methods work in this case. Can anyone recommend a best practice if I have an object that holds a large, procedurally created, orderedCollection and I want to be able to read/write it from a file (text or binary)? Specifically. I have an object called "PrimeBank", that holds a huge set of prime numbers. Its methods can grow this set at any time. As the set gets larger, I'd like to be able to write it out to a file and read it in when I'm running the code on another image. Ideally I think I'd like the file to be human readable and editable. - John E.