Yes, that's correct. Rectangle has record components Width and Height, and inherits a Start component from type Figure. It also has the three subprograms Draw, Area, and Perimeter. You may have noticed that other subprograms are implicitly defined as well, such as assignment and equality; pat yourself on the back if you realized that.

You may go to the next section.

You may also:

PREVIOUS Go back to the question

OUTLINE  Go up to the outline of lesson 7

David A. Wheeler (dwheeler@dwheeler.com)

The master copy of this file is at "http://www.adahome.com/Tutorials/Lovelace/s7s2r4.htm".