| View previous topic :: View next topic |
| Author |
Message |
Joe Real Guest
|
Posted: Fri Sep 19, 2003 9:16 pm Post subject: Get the error msg or number |
|
|
let me write a try except block:
try
statement1;
statement2;
dangerouslyperformingstatement;
except
showmessage('The error number is:');
showmessage('The error message is:');
end;
So how do you retrieve the error number or the error message so that I can show it
within the except end block?
Thanks.
|
|
| Back to top |
|
 |
Joe Real Guest
|
Posted: Fri Sep 19, 2003 10:47 pm Post subject: Re: Get the error msg or number |
|
|
Thank you sir!
I can at least use this to have a clue on the errors that just occur in about1 out
of 10,000 users out there.
In article <3f6b7354$1 (AT) newsgroups (DOT) borland.com>, "Ignacio Vazquez"
<ivazquezATorioncommunications.com> says...
| Quote: | "Joe Real" <RemoveTheseFourWordsjgreal (AT) avso (DOT) com> wrote in message
[email]MPG.19d511ea2be3ceda9897cb (AT) newsgroups (DOT) borland.com[/email]...
So how do you retrieve the error number or the error message so that I can
show it within the except end block?
|
|
|
| Back to top |
|
 |
Ignacio Vazquez Guest
|
Posted: Fri Sep 19, 2003 11:52 pm Post subject: Re: Get the error msg or number |
|
|
"Joe Real" <RemoveTheseFourWordsjgreal (AT) avso (DOT) com> wrote
| Quote: | I can at least use this to have a clue on the errors that just occur in
about1 out
of 10,000 users out there.
|
Take a look at madExcept:
http://www.madshi.net/
Cheers,
Ignacio
|
|
| Back to top |
|
 |
|