Autor Beitrag
Jacko
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20



BeitragVerfasst: Mo 29.08.05 12:40 
Hi,
irendwie lässt sich bei mir der Zeilenvorschub nicht richtig setzen.
Ich möchte zwischen zwei Wörtern einen Zeilenvorschub, damit meine Liste ('Werner')einheitlich untereinander in der Textdatei steht.

Writeln(SaveFile,'Zeile 1' + #10 + 'Werner');

In der Textdatei steht anstatt des Zeilenvorschubs ein Viereck.

Kann mir da jemand weiterhelfen ?

danke im voraus!
covel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 131

Win XP PRo
Borland D7/C#
BeitragVerfasst: Mo 29.08.05 12:46 
Writeln(SaveFile,'Zeile 1'+' '+'Werner');

probiers mal so!! habe es nicht getestet!!

gruß covel
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: Mo 29.08.05 12:49 
Du hast den carriage return vergessen, nur line feed reicht nicht...
(Du bist unter Windows! Unter Linux ist das was anderes...)

Statt #10 einfach #13#10...

@covel: Und was soll das bringen??? Er wollte doch nen zeilenumbruch und nicht nur das #10 weg!


Zuletzt bearbeitet von jaenicke am Mo 29.08.05 13:06, insgesamt 1-mal bearbeitet
covel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 131

Win XP PRo
Borland D7/C#
BeitragVerfasst: Mo 29.08.05 13:00 
ohh, dachte zeilenvorschub wäre was anderes als zeilenumbruch!

Dachte er wollte nur nen paar Leerzeichen
Jacko Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20



BeitragVerfasst: Mo 29.08.05 16:13 
hab's endlich 'tab' heißt die geschichte und muss anstatt #10 eine #9 einfügen.