Autor Beitrag
Jagg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Do 02.10.03 21:30 
Hallo Leute !
Wie kann ich während eines Programmablaufes den vorgang unterbrechen,wenn ich nicht will das der ablauf bis zum ende laufen soll !

Gibt es einen befehl der STOP heisst ?

Jagg !
Yooda
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 68



BeitragVerfasst: Fr 03.10.03 01:07 
Der Befehl:


Application->Terminate();

oder

close();

obwohl das erste alles effizienter Schliesst. (glaube ich zumindest)
maze2k
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 252

WIN 95, WIN NT 4.0, WIN 98, WIN 98SE, WIN 2000, RedHat Linux 7.3, Mandrake Linux 9.2, Knoppix Linux 3.3
D6 Pers
BeitragVerfasst: Fr 03.10.03 01:12 
Nein er will nicht das Programm beenden, sondern z.B. eine Funktion oder eine Prozedur.

Aber wie das geht weiss ich im Moment auch net :-/

_________________
Wer das Konzept der Unendlichkeit verstehen will, muss nur das Ausmaß menschlicher Dummheit betrachten. (Voltaire)
DaFox
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 189



BeitragVerfasst: Fr 03.10.03 02:54 
Hi,

Jagg hat folgendes geschrieben:

Wie kann ich während eines Programmablaufes den vorgang unterbrechen,wenn ich nicht will das der ablauf bis zum ende laufen soll !


ausblenden Delphi-Quelltext
1:
exit;					

verlässt eine procedure/function.

ausblenden Delphi-Quelltext
1:
break;					

verlässt eine Schleife.

Gruß,
Markus