What are these function used for ?
BlitzMax Forums/BlitzMax Beginners Area/What are these function used for ?
| ||
Hi, I'm wondering what for are Try, Catch or Throw functions used for. Can someone explain me ? Many thanks McFox |
| ||
They are used for error tracking. If an error occurs within a try - end try block you can catch it with catch o:object; runtimeerror o.tostring() for example. throw is to throw your own error message for catch |
| ||
Hmm ok, thanks ^^ |