Chapter 6. Introduction to C/SIDE and C/AL
When I use a word, 'Humpty Dumpty said in rather a scornful tone, it means just what I choose it to mean — neither more nor less.' | ||
--Lewis Carroll |
When the meaning is unclear there is no meaning. | ||
--Marty Rubin |
So far we have reviewed the basic objects of NAV 2013: tables, data fields, pages, queries and reports. For each of these, we reviewed triggers in various areas, triggers whose purpose is to be containers for C/AL code. When triggers are "fired" (invoked), the C/AL code within is executed.
In this chapter, we're going to start learning the C/AL programming language. Many things you already know from your experience programming in other languages. Some of the basic C/AL syntax and function definitions can be found in the embedded NAV 2013 Help (as well as in the MSDN Library sections for Microsoft Dynamics NAV).
As with most of the programming languages, we have considerable flexibility for defining our own model for our code structure. However...