Language Elements

Data Types, Literals and Variables

 

All content to be manipulated and processed through a PxPlus program can be categorized within one of two primary data types: Numeric Values, which are used in calculations (i.e. account balances, prices and quantities), and String Values, which usually involve text-based information (i.e. account names, addresses and product descriptions). Most data is processed in the form of Variables; however, when constant values are required, numeric or string Literals can be written directly into the program code.

Note:
There may be size limits imposed by the PxPlus activation or the operating system on different types of string and numeric data. See System Limits.

For information on how source data is accepted into a program for processing or where resultant data is sent from a program for storage or display, see Basic Input and Output.