Autor Beitrag
tobkin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17



BeitragVerfasst: Di 07.06.11 08:59 
Servus @All,

ich sitze hier vor einer Aufgabe, wo es einfach gerade etwas gedanklich bei mir hängt.

Ich bekomme 58 CSV Dateien, die jeweils Rund 90000 Zeilen mit Werten hat.

Bsp.:

2011-04-21 10h21m12s:718ms 0. Datensatz
;-147
;-146
;-148
;-147
;-147
;-147
...


Nun sollen immer 200Werte gemittelt und in eine neue Datei geschrieben werden, damit aus den 90000, 450Zeilen werden.

Wie würdet Ihr das angehen? Brauche ein bisschen Starthilfe, da ich echt gerade auf der Leitung stehe.

Gruß
Tobias


Moderiert von user profile iconNarses: Topic aus VCL (Visual Component Library) verschoben am Di 07.06.2011 um 15:03
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19315
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Di 07.06.11 09:03 
Hier gibt es z.B. einen entsprechenden Reader:
www.delphipraxis.net...von-csv-dateien.html
tobkin Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17



BeitragVerfasst: Mi 08.06.11 11:18 
Servus,
danke ersteinmal, war genau die richtige Starthilfe, würde aber das Thema noch offen lassen, falls noch fragen kommen.

Gruß
Tobias
Gerd Kayser
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 632
Erhaltene Danke: 121

Win 7 32-bit
Delphi 2006/XE
BeitragVerfasst: Mi 08.06.11 13:44 
user profile icontobkin hat folgendes geschrieben Zum zitierten Posting springen:
war genau die richtige Starthilfe

CSV ist doch nichts anderes als eine Textdatei, die man auch so bearbeiten kann.