ABSTRACT

The main purpose of this chapter is to provide a practical description of the operators, expressions and standard functions available in PASCAL and to use these in programs.

In particular we consider how calculations are performed in PASCAL using the basic REAL and INTEGER operators. We consider also the meaning of comparison and Boolean type operators and expressions and how they may be used to provide the “test” conditions in practical programs. Finally we consider the more important standard functions available in PASCAL for executing prescribed tasks, e.g. for finding square roots, trigonometric functions, exponential and log, and functions used in association with the CHARacter data.