Re: Try..Except: How?




"JamesR" <wizzer90@xxxxxxxxxxx> wrote in message
news:1148745759.782890.65410@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


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);...

Dunno, it shouldn't crash, it should give the message
or if running debug from the ide , with appropriate tools/debuuger options
set, should halt with EConvertEerror and step/run to continue, then step/run
continues with the message.


.