Autor Beitrag
ak
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 240

Suse Windows 9 XP
D6 Professional
BeitragVerfasst: Mo 29.09.03 10:27 
Hallo Leute,

ich kompiliere folgenden einfachen Code :

ausblenden Quelltext
1:
2:
3:
4:
5:
try
  strtoint(edit1.text);
except
  showmessage('Kein Int!');
end;


Wenn ich nur die Exe ausführe kommt bei einer Fehleingabe die showmessage-Anzeige. Soweit ok, aber wenn ich in der Entwicklungsumgebung compiliere bekomme ich vorher noch die Meldung des Compilers, dass es sich bei z.B. 'ww' nicht um einen integer handelt.
Wie kann ich das ausschalten?

_________________
Gruß AK
barfuesser
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 324



BeitragVerfasst: Mo 29.09.03 10:59 
Tools->Debugger-Optionen...->Sprach-Exceptions->Bei Delphi-Exceptions stoppen

barfuesser
ak Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 240

Suse Windows 9 XP
D6 Professional
BeitragVerfasst: Mo 29.09.03 11:43 
vielen Dank

_________________
Gruß AK