Autor Beitrag
flowstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 123

WinME
D6 Enterprise
BeitragVerfasst: So 16.05.04 14:54 
Hallo ich habe folgendes Problem, ich will ein ' in eine Textdatei schreiben. Aber wenn ich Strings in eine Textdatei schreibe, wird das ' a nicht mitgeschrieben.
So hab ichs versucht:

ausblenden Delphi-Quelltext
1:
writeln(f,'Hallo'blabla');					

Der String wird aber durch das ' unterbrochen.
Wie kann ich das umgehen?
obbschtkuche
Gast
Erhaltene Danke: 1



BeitragVerfasst: So 16.05.04 14:56 
Indem du es verdoppelst:

ausblenden Delphi-Quelltext
1:
writeln(f,'Hallo''blabla');					
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: So 16.05.04 14:57 
Hallo

probiers ma so
ausblenden Delphi-Quelltext
1:
writeln(f,'Hallo''blabla');					


edit. zu langsam

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
flowstar Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 123

WinME
D6 Enterprise
BeitragVerfasst: So 16.05.04 15:00 
danke jetzt gehts