Training
Module
Get Started with Development using X++ in Finance and Operations apps - Training
X++ is an object-oriented language. This module introduces X++ development for finance and operations apps, which is performed in Visual Studio.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The Microsoft High Level Shader Language (HLSL) recognizes the words in this section as keywords. Keywords are predefined reserved identifiers that have special meanings. You can't use them as identifiers in your app.
These numeric types have scalar, vector, and matrix keyword expansions:
The expansions of these numeric types follow this pattern, which uses float as an example:
Scalar
Vector
Matrix
HLSL supports lower-case texture and sampler for legacy reasons. Instead, for your new apps, we recommend that you use HLSL's new texture objects (Texture2D, Texture3D, and so on) and sampler objects (SamplerState and SamplerComparisonState).
Use export to mark functions that you package into a library.
Here is an example:
export float identity(float x)
{
return x;
}
By marking the identity function with the export keyword, you make the identity function available from a library for later linking. Without the export marking, the identity function isn't available for later linking.
The compiler ignores the export keyword for non-library compilation.
Note
The export keyword requires the D3dcompiler_47.dll or a later version of the DLL.
Training
Module
Get Started with Development using X++ in Finance and Operations apps - Training
X++ is an object-oriented language. This module introduces X++ development for finance and operations apps, which is performed in Visual Studio.