Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Programming Microsoft Dynamics NAV

You're reading from   Programming Microsoft Dynamics NAV Hone your skills and increase your productivity when programming in Microsoft Dynamics NAV 2017

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781786468192
Length 706 pages
Edition 5th Edition
Languages
Arrow right icon
Authors (3):
Arrow left icon
Marije Brummel Marije Brummel
Author Profile Icon Marije Brummel
Marije Brummel
David Studebaker David Studebaker
Author Profile Icon David Studebaker
David Studebaker
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 (10) Chapters Close

Preface 1. Introduction to NAV 2017 2. Tables FREE CHAPTER 3. Data Types and Fields 4. Pages - the Interactive Interface 5. Queries and Reports 6. Introduction to C/SIDE and C/AL 7. Intermediate C/AL 8. Advanced NAV Development Tools 9. Successful Conclusions

Flow control

Process flow control functions are the functions that execute the decision making and resultant logic branches in executable code. IF-THEN-ELSE, discussed in Chapter 6, Introduction to C/SIDE and C/AL, is also a member of this class of functions. Here, we will discuss the following:

  • REPEAT - UNTIL
  • WHILE - DO
  • FOR-TO and FOR-DOWNTO
  • CASE - ELSE
  • WITH - DO
  • QUIT, BREAK, EXIT, and SKIP

REPEAT-UNTIL

REPEAT-UNTIL allows us to create a repetitive code loop, which REPEATs a block of code UNTIL a specific conditional expression evaluates to TRUE. In that sense, REPEAT-UNTIL defines a block of code, operating somewhat like the BEGIN-END compound statement structure that we covered in Chapter 6, Introduction to C/SIDE and C/AL. REPEAT tells the system to keep reprocessing...

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 €18.99/month. Cancel anytime