Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Programming Microsoft Dynamics 365 Business Central

You're reading from   Programming Microsoft Dynamics 365 Business Central Build powerful, robust, and scalable extensions customized for your business requirements

Arrow left icon
Product type Paperback
Published in Oct 2024
Publisher Packt
ISBN-13 9781803236414
Length 466 pages
Edition 7th Edition
Arrow right icon
Authors (4):
Arrow left icon
David Studebaker David Studebaker
Author Profile Icon David Studebaker
David Studebaker
Marije Brummel Marije Brummel
Author Profile Icon Marije Brummel
Marije Brummel
Natalie Karolak Natalie Karolak
Author Profile Icon Natalie Karolak
Natalie Karolak
Christopher D. Studebaker Christopher D. Studebaker
Author Profile Icon Christopher D. Studebaker
Christopher D. Studebaker
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Chapter 1: Introduction to Business Central 2. Chapter 2: Tables FREE CHAPTER 3. Chapter 3: Data Types and Table Fields 4. Chapter 4: Pages – The Interactive Interface 5. Chapter 5: Reports and Queries 6. Chapter 6: Introduction to AL 7. Chapter 7: Intermediate AL 8. Chapter 8: Extensibility beyond AL 9. Index 10. Other Books You May Enjoy

AL syntax

AL syntax is relatively simple and straightforward. The basic structure of most AL statements is essentially similar to what you learned with other programming languages. AL is modeled on Pascal and tends to use many of the same reserved words and syntax practices as Pascal.

Assignment and punctuation

Assignment is represented with a colon followed by an equal sign, the combination being treated as a single symbol. The evaluated value of the expression, to the right of the assignment symbol, is assigned to the variable on the left-hand side, as shown in the following line of code:

Customer."Phone No." := '312-555-1212';

All statements are terminated with a semicolon. Multiple statements can be placed on a single program line, but that makes the code hard for others to read.

Fully qualified data fields are prefaced with the name of the record variable that they are a part of (see the preceding code line as an example wherein the record variable...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image