ABSTRACT

In this chapter we consider some of the basics needed to begin writing meaningful programs in PASCAL. Definitions are also given for some important terms used in PASCAL: constants, variables, values and expressions. We will cover how variables are declared, how values are assigned, how simple and compound statements are written, how information may be input and output from the computer, and how data may be formatted (e.g. expressed to a given number of decimal places).