Autor Beitrag
Molzer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19



BeitragVerfasst: Mo 05.01.09 21:11 
hallo!

ausblenden Delphi-Quelltext
1:
WriteLn (F,s.cells[1,i]+'|',s.cells[2,i]+'|',s.cells[3,i]+'|');					


diese zellen würde ich gerne ohne zeilsprung in ein txt.file schreiben??

fg
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 05.01.09 21:16 
Warum schreibst du denn den Zeilenumbruch?
Write schreibt ohne, WriteLn wie der Name schon sagt mit Zeilenumbruch.
Molzer Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19



BeitragVerfasst: Mo 05.01.09 21:27 
danke!

und wie mache ich bei write(...) einen zeilenunbruch?
möchte nicht alles in einer wurst!!

fg
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 05.01.09 21:28 
user profile iconMolzer hat folgendes geschrieben Zum zitierten Posting springen:
diese zellen würde ich gerne ohne zeilsprung in ein txt.file schreiben??
user profile iconMolzer hat folgendes geschrieben Zum zitierten Posting springen:
und wie mache ich bei write(...) einen zeilenunbruch?
möchte nicht alles in einer wurst!!
Äh, wie jetzt? Du möchtest keinen Zeilenumbruch, aber einen Zeilenumbruch? :shock:

Jetzt verstehe ich nicht was du eigentlich möchtest. :gruebel:
Molzer Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19



BeitragVerfasst: Mo 05.01.09 21:37 
ich würde gerne

ausblenden Delphi-Quelltext
1:
2:
Write(F,TrackAnzeige.Cells[0,i]+'|',TrackAnzeige.Cells[1,i]+'|',
                 TrackAnzeige.Cells[2,i]+'|',TrackAnzeige.Cells[3,i]+'|');


so wie es hier steht in ein txt.file ausgeben

also 0+1 bzw 2+3 in eine zeile schreiben..

fg
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 05.01.09 21:39 
Meinst du das?
ausblenden Delphi-Quelltext
1:
2:
WriteLn(F, TrackAnzeige.Cells[0,i]+'|',TrackAnzeige.Cells[1,i]);
WriteLn(F, TrackAnzeige.Cells[2,i]+'|',TrackAnzeige.Cells[3,i]);
Molzer Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19



BeitragVerfasst: Mo 05.01.09 21:42 
ich bin ein trottel!!

danke!!