Summary

Completed

In this module, you learned about the different built-in functions in AL language. You discovered useful interaction functions such as Message, Confirm, and Error. Many different string functions are built in, including a .NET alternative; however, the CopyStr and the Substring functions differ. To get the maximum allowed number of characters in a string, you can use the MaxStrLen function.

Additionally, you learned about the different array and list functions. The list function is dynamic, which means that you don't need to define up front how many elements that your list will contain. You can use functions like Add, Remove, and Set to change the list values. System functions help you pull data such as a company name or work date.

Finally, you learned how text can be converted into an integer with the Evaluate function and how you can convert an integer into text with the Format function.