Advertisement

Exception Support

Started by October 26, 2010 08:32 PM
2 comments, last by droz 14 years, 1 month ago
I know supporting exceptions is in your to-do list, I was just wondering if you have any plans for it in the next couple of releases?

Thanks,
jeremy
From the http://www.angelcode.com/angelscript/wip.asp:
"Added PrintException as helper function" in Add-ons & samples section :). So I think it's already done :).
Advertisement
I think droz refers to the addition of support for 'try-catch' blocks in the scripts.

This is a feature that has a quite low priority for me at the moment. It is just not something that is used or needed very often in embedded scripting.

I'll think about it. If it doesn't require too much effort to implement this I'll probably do it anyway.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

I do see how it might not be as useful in a embedded scripting language. I'm using it to build a general purpose scripting language, and I do understand that is not necessarily the goal for angelscript. You've added most of the features I needed in recent releases, mainly inheritance, template array, enums, and support for 64-bit platforms (native calling).

So really I should be thanking you for all your hard work, and implement it myself :)

-Jeremy

This topic is closed to new replies.

Advertisement