|
GPP Expressions
Expressions make a significant part in any programming language, and GPP is no exception. Expressions are used in assignment statements, in function arguments, and in program control statements.
For instance, a simple expression is shown in the statement below:
A = B + 3;
The "B + 3" part is a numeric expression.
This section describes all the legal expressions in the GPP language, and how they are assigned values at runtime. Later sections in this document will describe the various GPP commands and what expressions may be used in each.
Note: The OUTPUT and PRINT statements do NOT use standard GPP expressions. They use a unique set of output entities, which will be described separately. This section only deals with standard GPP expressions (i.e., expressions that can be used in assignment statements).
The following topics describe the GPP expressions:
|