How To: Try-Catch in C/AL for NAV2016

try_catch_featured_cal
FacebookTwitterGoogle+LinkedInWhatsAppEvernoteShare

Well well well! They finally added this! In a way 😉

As all of you are aware one beautiful thing that a lot of programming languages have is the “Try-Catch” statement. C/AL didn’t have this though. And some people never thought it would.

If you are curious about this and you want to go into more detail I invite you to check Vjeko’s blog entry for more information.

As it happens, Microsoft thought this would be a neat thing to have, and they added a property when defining the functions as follows:

Property Continue reading