Monday, February 13, 2017

Difference between " and ‘ ? in Dynamics AX

This is one of the most common question which floats around AX developers and Technical consultants. The answer is very simple: X++ makes absolutely no distinction between the two.

The application community has best practices that mandate that programmers use ‘(single quotes) for text that cannot appear on UI, like

System.Int32 myVar = CLRInterop::CLRNull('System.Int32');


Whilst text that does should use double quotes for text like

myButton.Label = "@SYS12345";

No comments:

Post a Comment