DataTypes
The data type of a programming element refers to what kind of data it can hold and how that data is stored. Data types apply to all values that can be stored in computer memory or participate in the evaluation of an expression. Every variable, literal, constant, property, procedure argument, and procedure return value has a data type.
A declared data type is specified as part of the declaration of a programming element. Unless you use typeless programming, you must declare data types for all your programming elements.
This section describes the declaration and use of Encore RPG data types.
In This Section
Data type Declaration
Covers declaring data types of various programming elements.
Elementary Data types
Discusses numeric, character, and miscellaneous types provided by Encore RPG.
Data type Implementation
Illustrates how Encore RPG classifies and implements various data types.
Data types Comparison
Comparison list of Encore RPG, .NET Framework, C#, and Visual Basic Data types.