Functions and Macros
X++ provides str2Int and many other functions that are routinely needed for programming tasks such as the following:
Mathematical functions
Data type conversions
Validation of Application Object Tree (AOT) arguments
X++ also provides #define and other precompiler directives that provide a mechanism for declaring constant values and other items.