PL-6


PL-6 is a discontinued system programming language based on PL/I. PL-6 was developed by Honeywell, Inc. in the late 1970s as part of the project to develop the CP-6 operating system.

Description

Data types

PL-6 has no provision for floating point data.

Aggregates

Arrays were one dimensional and zero-based, with the zero specified explicitly. For example, DCL x SBIN; declares an array of five signed 36-bit integers. The elements were numbered x, x,...,x.
Structures were also supported. For example:
DCL 1 struct,
2 a,
3 b CHAR,
3 * CHAR,
2 c CHAR;
declares a structure named struct consisting to two elements: a minor structure a consisting of a three-character field b and an unnamed one-character element, and a four-character element c.
The top level of the structure had to be 1, and the remaining levels 2-10, if used, had to be specified in order with no levels skipped.