Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Error Trapping commands

Author
Message
Rob K
Retired Moderator
21
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 6th Oct 2002 18:47
Please can we have these?]

On Error Goto killsub

...

On Error Resume Next

killsub

Text 20,20,Get Last Error Type()
what is a signature?
waffle
21
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 6th Oct 2002 20:43
this has been brought up before...
Handling errors in that manner has a major impact on program speed and really messes up program flow.
Currently, the best thing is to place into your code, your own debuggers and aggresively have your code test itself for nonsensicle stuff such as devide by 0 or attempt to move object 0.

Login to post a reply

Server time is: 2024-04-19 22:02:46
Your offset time is: 2024-04-19 22:02:46