Is there a header row?  IF so you can do:

csv := (NeoCSVReader on: stream) separator: Character tab.
header:= csv readHeader.
header size timesRepeat:[csv addFloatField].
csv upToEnd inspect





HilaireFernandes wrote
> The data come from sensors in 60, 600 and 6000 fields.
> 
> I can do has below but I need to know first the number of fields. But
> it's ok.
> 
> csv := (NeoCSVReader on: stream) separator: Character tab.
> 60 timesRepeat: [ csv addFloatField].
> csv upToEnd inspect.
> 
> Le 22/12/2019 à 17:34, Sven Van Caekenberghe a écrit :
>> Or do you want something else ?
> 
> -- 
> Dr. Geo
> http://drgeo.eu





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply via email to