O'Reilly logo

Learning MS Dynamics AX 2012 Programming by Erlend Dalen, Mohammed Rasheed

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. The X++ Language

X++ is the programming language used to build Dynamics AX functionalities. X++ is an object-oriented programming language like C++.

After finishing this chapter, you will be able to understand the X++ language; you will know what kind of datatypes 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:

  • Comments
  • Datatypes
  • Statements and loops
  • Operators
  • Classes and methods
  • Macros
  • Events

Introduction

You have already seen the Hello World 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 ...

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