Constants and Literals

PowerBASIC programs process two distinct classes of data: variables and constants.  A variable is allowed to change its value as a program runs.  A constant's value is fixed at compile-time, and cannot change during program execution (hence, it remains constant).  PowerBASIC supports four types of constants: string literals, numeric literals, string equates and numeric equates.

 

See Also

Defining Constants

Array Data Types

Bit Data Types

Floating Point Data Types 

GUID Data Types

Integer Data Types 

Object Data Types

Pointer Data Types

String Data Types 

User Defined Types

Unions

Variant Data Types