forums

TNT Basic Forums > Feedback
Handling exceptions
< Last Thread     Next Thread >
Author
Thread        Post A Reply

04-02-2003 22:51

Posted by:
someone

Location:
Quebec ( Canada )

Click Here to Email someone   Find more posts by someone

Handling exceptions is very well done in TNT, but I noticed some things:

1-" Exception raised: Array index out of bounds at line 15 " will not make much sense to an user who is not good at programmation.
2- Sometimes we could want to verify if something is possible to do
3- When the exception window is closed, the game remains open but is blank; one of my players just closed the exception window and tried to reopen the game by double-clicking on the icon; it activated the game from the finder but it was empty so he thought my game was buggy...


I suggest:

try


end try
catch
' do whatever you want with the exception
end catch

04-03-2003 20:04

Posted by:
Mark Tully

Location:
TNT HQ, England

Click Here to Email Mark Tully   Find more posts by Mark Tully

Yeah we've been meaning to add exception handling to TNT Basic, it will probably come in with the engine rewrite later this year.... maybe...

Cheers,

Mark

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.