It works now.

Looks like that:

1- I needed to do an asString on the content being read. (I'd like to know
how to read a text file this way - as a text file)

2- as my separator was $;, not specifying one led NeoCSVReader to fail for
some strange reason (it should have given me a single field and values in
an array, which it didn't).


allObjects
| stream reader contents |
stream := self allObjectsDataFile asFileReference readStream.
 contents := stream contents asString.
stream close.
reader := NeoCSVReader on: contents readStream.
 reader separator: $;.
reader upToEnd.

Reply via email to