A best practice for all programming is to consistently use comments. It is
important when developing X++ programs in Microsoft Dynamics AX to use
comments and document what the code does and how parameters are used. It is
also good to know who made the change and why. When upgrading code, you
have to decide whether to merge code and if this is the case, how to merge it;
comments are useful to help determine why a code change is made. Note the
following about how to use comments:• Comments can be inserted directly into the lines of code.• Comments are ignored by the compiler.• Comments turn the code green in the editor.
Some of the comments include the following:• Single line "//"• Block comments "/* */"• To do comments "TODO." To do comments appear in the compiler'sTasks tab page.• XML documentation comments// This is a single line comment
/* This is a block comment because
It contains more than one line */
/// <summary>
/// Comment where XML tags distinguish sections.
/// </summary>The preceding XML documentation comments can be used to build XML
documents that contain developer documentation. The XML documentation
comments are also used to display "hover-over" help in the X++ editor. To
extract an XML documentation file from code, right-click a development project
node, and select Add-ins > Extract XML documentation.
Best Regards,
Hossein Karimi
Wednesday, June 27, 2018
Comments
+10 years of experience with hands-on lead-level background in the full life cycle of software development with demonstrated cross-functional team leadership skills.
Programming:
• ERP :Microsoft Dynamics AX 2012
• Language :X++, C#, C++, XAML, Asp.Net, Html, VB.Net, Android
• Environment : Windows XP, Windows 8, Windows 10, Windows Server
• DataBase : Oracle 9i,10g,11g and SqlServer and SQLlite
Subscribe to:
Post Comments (Atom)
Configure the Firewall on the Enterprise Portal Server
After you install Enterprise Portal, enable Web Server (HTTP) in Windows Firewall. If you do not enable the web server in Windows Firewall...
-
In Reporting Services, reports and resources are processed under the security identity of the user who is running the report. If the report ...
-
The below select query will give the both the Sales Line record count and the sum of sales quantity. static void Test_Data(Args _args) ...
-
To integrate Microsoft Dynamics AX and Analysis Services, you must connect Analysis Services to the Application Object Server (AOS). To do s...
I really enjoyed reading this informative and engaging blog post. You did a great job of explaining the topic in a clear and concise way, and I especially appreciated the examples and stories you included to illustrate your points. I can tell that you put a lot of thought and effort into this post, and it shows. Thank you for sharing your knowledge with the world! soundproofgears.com
ReplyDelete