O'Reilly logo

Microsoft Dynamics AX 2009 Programming: Getting Started by Erlend Dalen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. X++ Language

After finishing this chapter, you will be able to express yourself using the X++ language. You will know what kinds of data types are available, how to create all kinds of loops, how to compare and manipulate variables, where to find predefined functions, and how to use them.

The chapter will cover the following topics:

  • Comments
  • Data types
  • Statements and loops
  • Operators
  • Classes and methods
  • Macros

Introduction

You have already seen the HelloWorld example and probably thought that this looks pretty easy and yes, it is. The X++ syntax is not very strict as it is case insensitive. However, you should try to follow the naming conventions used in the rest of AX.

Some, but not all, of these naming conventions are listed here:

  • Application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required