Advertisement

Variables, Constants and Expressions

  • I. R. Wilson
  • A. M. Addyman

Abstract

In previous chapters we have used only real and integer variables. There are, in fact, four standard scalar types of variable in Pascal-integer, real, character and boolean. Each type has its own forms of constant, its own operators (+, −, etc.) and its own ‘standard functions’. These standard functions are named operations which may be applied to one value to yield another value. For example, one standard function is SQRT and SQRT (A) calculates from the value of the variable A the value of its square root.

Keywords

Boolean Variable Standard Function Boolean Expression Repeat Read Great Precedence 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© I. R. Wilson and A. M. Addyman 1978

Authors and Affiliations

  • I. R. Wilson
    • 1
  • A. M. Addyman
    • 1
  1. 1.Department of Computer ScienceUniversity of ManchesterUK

Personalised recommendations