Autor Beitrag
crandzy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 42

WIN 2000
D2006 Prof
BeitragVerfasst: Mo 19.09.05 11:43 
Hallo zusammen,

ich habe eine kleine Konsolenanwendung erstellt die CRLF in Dateien überprüft... Nun ist die Frage kann man irgendwas programmieren das man nachdem die Anwendung ausgeführt wurde eine Rückmeldung bekommt über die Anzahl der berichtigten CRLF??

Danke schon mal

_________________
In Wirklichkeit ist die Realität ganz anders
ManuelGS
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 173

Win XP HE, Suse Linux
D6, D7, D2005 Personal
BeitragVerfasst: Mo 19.09.05 11:48 
Das geht mit writeln('text');

_________________
"Leben ist gänzlich Bühne und Spiel; so lerne denn spielen
und entsage dem Ernst - oder erdulde das Leid." - Palladas von Alexandria
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mo 19.09.05 11:55 
Du kannst beim Beenden des Programms (ExitProcess) einen Fehlercode (frei wählbar) übergeben, den man abfragen kann. Diesem kannst Du die entsprechende Bedeutung geben.

Eine andere Möglichkeit wäre die Anzahl der CRLF vom Programm ausgeben zu lassen und dann diese Ausgabe abzufangen. Such dazu einfach mal im Forum nach Beispielen.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
crandzy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 42

WIN 2000
D2006 Prof
BeitragVerfasst: Mo 19.09.05 13:20 
Ja super, das war genau das was ich gesucht hab :dance:

_________________
In Wirklichkeit ist die Realität ganz anders