Re: Try..Except: How?
- From: Hans-Peter Diettrich <DrDiettrich@xxxxxxxxxxx>
- Date: Sat, 27 May 2006 18:21:13 +0200
JamesR schrieb:
I thought if I had some text in the Edit1, then the except section
would execute.. this doesn't work. The program just crashes on the line
i := StrToInt(Edit1.Text);...
Perhaps you missed a "uses SysUtils;"? This unit must be included in a program, in order to make exception handling work.
DoDi
.
- Follow-Ups:
- Re: Try..Except: How?
- From: Terry Russell
- Re: Try..Except: How?
- References:
- Try..Except: How?
- From: JamesR
- Try..Except: How?
- Prev by Date: Try..Except: How?
- Next by Date: Re: Try..Except: How?
- Previous by thread: Try..Except: How?
- Next by thread: Re: Try..Except: How?
- Index(es):