Primitive data types are the building blocks of the programming language. They are used to store a single value based on the type in runtime code. The values that we are able to store in each data type vary, depending on which data type is used. If you would like to store a text string you can use the string data type. If you would like
to store a date value you can use the date data type, or perhaps the utcdatetime. You can also use the data type anytype if the type of data read into the variable is decided at runtime.
In the next chapter, we will look at how to create extended data types and how they can be used to easily create fields in a table. All of the extended data types extend primitive data types.
The different primitive data types available in AX are:
• String (str)
• Integer (int)
• Real (real)
• Boolean (boolean)
• Date (date)
• Enum (enum)
• TimeOfDay (timeofday)
• UtcDateTime (utcdatetime)
• Anytype (anytype)
to store a date value you can use the date data type, or perhaps the utcdatetime. You can also use the data type anytype if the type of data read into the variable is decided at runtime.
In the next chapter, we will look at how to create extended data types and how they can be used to easily create fields in a table. All of the extended data types extend primitive data types.
The different primitive data types available in AX are:
• String (str)
• Integer (int)
• Real (real)
• Boolean (boolean)
• Date (date)
• Enum (enum)
• TimeOfDay (timeofday)
• UtcDateTime (utcdatetime)
• Anytype (anytype)
No comments:
Post a Comment