One of the new features of the AL compiler that arrived with 2020 Wave 2 is Precompiler directives. This is nothing spectacular, programming languages had these kinds of things since the dawn of programming languages, and now we have them too.
The biggest thing, though, is that on their surface, just like so many other features (cough! interfaces, cough, cough, interfaces) you can’t really grasp their full power just by reading the documentation available.
The idea to present conditional directives on Vjeko.live came to me while I was preparing for my Git branching models and strategies webinar. I didn’t cover this in detail during the webinar (it doesn’t have much to do with Git branching), and I will cover it in my new upcoming webinar that I will announce today, but I also want to touch this topic in a more public forum than a paid webinar. That’s why I’ll talk about this today.
If you want to follow the session live, and participate in the Q&A afterwards, here’s the link:
After the session is over, this will be the link to the recording, so if you can’t join live, you can always come and watch it later, sans Q&A.
Also, at some point in the next couple of days, I’ll update this post with more explanations, code examples, any relevant links, and such.
See you today at 2PM!