Sign in
Issues concerning X++
This blog deals with issues about X++
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Tags
Channel 9
CIL
CLR-Interop
Conference
Core language
delegate
Demo
EP
Eventing
Garbage collection
Generics
managed code
mappoint
phone
Presentation
SQL
string performance
warnings
Web service
X++
X++ Language
XML
Browse by Tags
MSDN Blogs
>
Issues concerning X++
>
All Tags
>
x++ language
Tagged Content List
Blog Post:
New Option to Log X++ Max-Length String Truncation
Karl Simonsen
In X++ you can optionally declare a string to have a specified maximum length: str 5 maxLen5String; Semantically, if you try to store more than 5 characters to this string, it will be truncated. In March 2010 we blogged here about the X++ max-length string type, and asked how we should...
on
6 Oct 2011
Blog Post:
X++ script host.
Peter Villadsen
I was looking at the API that we publish for the X++ compiler, and it struck me that it would be really easy to implement a script host for X++. This is a program that allows you to execute arbitrary X++ code that is stored in files in the file system. In this way, you can use X++ as a systems programming...
on
19 May 2011
Blog Post:
Working with System.Char in X++
Peter Villadsen
There are situations where it is useful to workl with characters in X++. As you know, X++ does not have the concept of characters in the defined in the language: Only strings are defined. However, it is not impossible to work with characters in X++, if you use the managed System.Char type. It will not...
on
10 May 2011
Blog Post:
More help needed from community: Do you rely on string truncation?
Peter Villadsen
Previously the X++ language allowed the LEFT and RIGHT keywords on definitions of string variables. That is no longer valid X++. However, we still allow specifying an explicit string length. The X++ language runtime implicitly does string truncation on assignment, both directly and when passing parameters...
on
16 Mar 2010
Blog Post:
Removal of legacy functions
cgood@microsoft.com
There are several legacy X++ language functions found in Dynamics AX that we have been considering for removal. All of the following APIs are no longer used internally, and some are relics from an earlier era (pre-Unicode). Given the lack of use, we do not wish to propagate these APIs into the new IL...
on
23 Feb 2010
Blog Post:
Conditional breakpoint workaround
Peter Villadsen
As you may know, the Ax debugger does not feature conditional breakpoints. It does obviously allow you to set breakpoints, but there is no option to make them active depending on some condition that is evaluated each time the breakpoint is encountered. There are some programming scenarios where it is...
on
10 Oct 2009
Blog Post:
Transforming X++ code to managed code: Check the video...
Peter Villadsen
The channel 9 video: http://channel9.msdn.com/posts/Charles/Peter-Villadsen-and-Gustavo-Plancarte-Inside-Ax-Translator-X-to-MSIL/ showcases some work that the X++ team has done to investigate the options for transforming X++ code into managed code. We are publishing it here in the hope that it...
on
12 Sep 2009
Blog Post:
Using the Cross company feature from the Business Connector.
Peter Villadsen
In Ax 2009 the new cross company feature was introduced. It allows the programmer to specify a container containing strings denoting company names to the crosscompany hint: container c = ['dat', 'dmo']; select crosscompany: c * from custtable where custtable.Name == "Jones"; That is all very well...
on
19 Dec 2008
Blog Post:
Caveat: Using the += and -= operators for dates.
Peter Villadsen
As you may know, it is possible in X++ to add integers to dates. The semantics are that the integer value is considered a number of days to add or subtract to the date. { Date d; // ... d = d + 7 ; // Seven days later // ... d = d - 7 ; // Seven days prior. } The example above works well. However...
on
5 Feb 2008
Blog Post:
Getting rid of the "Loss of precision" warning message
Peter Villadsen
A question came up at today's webinar where a developer had a (presumably legitimate) reason to cast a real value into an integer value. The X++ language does not allow explicit casting (there's no support for it in the language), but the compiler will do its best to satisfy the user and do the conversion...
on
11 Jul 2007
Page 1 of 1 (10 items)