Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
Class Notes for CS 819B -Spring 2004 2. Programs that Use Arrays
 

Summary: 43
Class Notes for CS 819B - Spring 2004
2. Programs that Use Arrays
John C. Reynolds
Department of Computer Science
Carnegie Mellon University
Revised February 10, 2004
c
2004 John C. Reynolds

44
The Problem of Subscript Errors
If our programing language is extended to permit the use of
arrays, then the evaluation of expressions that refer to arrays
may cause subscript errors.
This creates a distinction between the meanings of expressions
in the programming language and of expressions (i.e., terms) in
assertions. For example, if the domain of the array X is the
interval 1 to 3, then the boolean expression
X(4) = X(4)

  

Source: Andrews, Peter B. - Department of Mathematical Sciences, Carnegie Mellon University

 

Collections: Mathematics