Skip to main content

1978 | OriginalPaper | Buchkapitel

Other Data Types

verfasst von : Brian Meek

Erschienen in: Fortran, PL/I and the Algols

Verlag: Macmillan Education UK

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

In both Algol and Fortran variables taking truth values can be declared, and Boolean or LOGICAL forms a different data type from the arithmetic data types. In PL/I the attribute concept means that there is really just one arithmetic data type, though any object of that data type will have certain attributes of scale, base and precision. Even complex quantities are part of this, since REAL or COMPLEX is simply another arithmetic attribute. As for Boolean, there is no direct equivalent at all, the nearest being a bit string of length 1. Bit strings are dealt with in section 2.5.3, since it is more convenient to discuss them after character strings (section 2.5.2). First, however, we deal briefly with the COMPLEX attribute.

Metadaten
Titel
Other Data Types
verfasst von
Brian Meek
Copyright-Jahr
1978
Verlag
Macmillan Education UK
DOI
https://doi.org/10.1007/978-1-349-04052-0_13

Premium Partner