Skip to main content

Simple Data Types and Expressions

  • Chapter
Book cover Software Engineering in Modula-2

Part of the book series: Macmillan Computer Science Series ((COMPSS))

  • 23 Accesses

Abstract

A data type is a collection of values and a set of operations which may be applied to a variable of that type, yielding a result which may or may not be of the same type. Modula-2 has five built-in scalar data types- CARDINAL, INTEGER, REAL, BOOLEAN and CHAR. A scalar data type is one which represents a single value at any one time; the more complex structured data types which represent groups or sequences of values are discussed in Chapter 6.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Copyright information

© 1989 Jill A. Hewitt and Raymond J. Frank

About this chapter

Cite this chapter

Hewitt, J.A., Frank, R.J. (1989). Simple Data Types and Expressions. In: Software Engineering in Modula-2. Macmillan Computer Science Series. Palgrave, London. https://doi.org/10.1007/978-1-349-11260-9_3

Download citation

  • DOI: https://doi.org/10.1007/978-1-349-11260-9_3

  • Publisher Name: Palgrave, London

  • Print ISBN: 978-0-333-51518-1

  • Online ISBN: 978-1-349-11260-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics