Autor Beitrag
O'rallY
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 563



BeitragVerfasst: Mo 29.07.02 10:58 
Was ist das Zeichen für einen Zeilenumbruch (also so, wie in C/C++ das Zeichen '\n')? Gibt's das überhaupt?
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Mo 29.07.02 11:10 
Jo, gibt es!

ausblenden Quelltext
1:
MeinString := 'Hallo du!' + #10#13 + 'Wie geht es dir?';					

_________________
Viele Grüße
Jakob
O'rallY Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 563



BeitragVerfasst: Mo 29.07.02 12:22 
Ey, du bist echt Klasse! :wink:
Fast bei jeder Frage die ich gestellt hab, warst du bei den Antworten mit dabei! :D
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Mo 29.07.02 12:33 
Zufall :mrgreen:

Ich freu mich, wenn ich jemanden helfen kann.

_________________
Viele Grüße
Jakob
Delphinator
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 22



BeitragVerfasst: Fr 09.08.02 18:13 
Hi,

hab diesen Thread durch die Suchefunktion gefunden. Gehe ich jetzt also recht in der annahme des es nur "#10#13" gibt um einen Zeilenumbruch zu machen, oder gibt es noch was anderes ???

Nur mal so, rein interessehalber.

Greetz,
Delphinator

_________________
user defined image kill 'em all - god will sort them user defined image
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Fr 09.08.02 20:03 
Wen du mit einem reinen String arbeitest gibt es nur #10#13 (carage return / Line feed). Generell gibt es die Sonderformatielung für bestimmte Zeichen in Delphi nicht (damit meine ich die ganzen \Irgendwas Zeinen). Man gibt einfach den Wert auf der Ascii Tabelle an. Also z.B. #9 für den Tabubator ode #0 für \0 usw.

Gruß
Klabautermann
Delphinator
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 22



BeitragVerfasst: Fr 09.08.02 20:13 
Vielen Dank für die Info @Klabautermann

_________________
user defined image kill 'em all - god will sort them user defined image
Andreas Pfau
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 997



BeitragVerfasst: Mi 04.09.02 20:31 
Titel: Es geht noch einfacher!
Das mit 'Zeile 1' + #13#10 + 'Zeile 2' stimmt schon, aber " + " ist überflüssig; Genauso funzt's mit

'Zeile 1'#13#10'Zeile 2'

(Nur ist's so schneller :wink:)

- AP -