Chapter 7. Intermediate C/AL
Any fool can write code that a computer can understand. Good programmers write code that humans can understand. | ||
--Martin Fowler |
Knowing how things work is the basis for appreciation, and is thus a source of civilized delight. | ||
--William Safire |
In the previous chapter, we learned enough C/AL to create a basic, operational set of code. In this chapter, we will learn about more C/AL functions and pick up a few good habits along the way. If you are getting started as a professional NAV Developer, the C/AL functions represent a significant portion of the knowledge that you will need on a day-to-day basis. If you are a manager or consultant needing to know what NAV can do for your business or your customer, an understanding of these functions will help you too.
Our goal is to competently manage I/O, create moderately complex program logic structures, and understand data filtering and sorting as handled in NAV and C/AL. Since the functions and features in C/AL are designed...