Data Types/Data Structures

Data Types

There are two primary data types available in PRO/5, numeric and string. Numerics (or numbers) are considered to be any value that may be used in arithmetic calculations. PRO/5 supports floating point and integer types. A string is a sequence of bytes of arbitrary length.

Data Structures

The most common data structure (not counting file structures) supported by PRO/5 is the array. PRO/5 supports both numeric and string arrays. Additionally, PRO/5 provides a string-oriented structure known as a "string template". A string template is similar to record structures found in other languages and allows symbolic references to string sub-fields. String templates facilitate the implementation of general database managers and report writers. See the String Templates section for further details.