Classes with Statements, Classes as a Program System

  • Günther Lamprecht


The previous chapter dealt with the classes as a compound object. We showed how to combine variables of different types to a new unit and how to approach the Individual items of the object. Although we can establish the most complex structures, using comprehensive classes and subclasses, it will become evident that the concept of classes in SIMULA is even more general and extensive.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. *).
    If the class with the name ‘name’ is intended to be a subclass of another class with the name ‘namel’, we must put namel as a prefix in front of the class declaration so that it runs, namel CLASS name(Ifp);Google Scholar
  2. **).
    In case the class is a subclass, it may become necessary to extend the list of actual parameters on the left side by those of the comprehensive class(es).Google Scholar
  3. *).
    For more details on orthogonal polynoms see, M. Abramowitz and I.A. Stegun, Handbook of Mathematical Functions, Dover Publications, New York, 1965.Google Scholar
  4. *).
    This method is likely to give rise to mistakes, which will take trouble (and time) to find. Therefore, you should specify every vector or matrix as a formal parameter by stating VALUE…; in the class head. incarnation is offered by using subclasses in connection with the specification VIRTUAL. This way will be described now.Google Scholar
  5. *).
    In addition, it is possible to specify LABEL or SWITCH. As in practice these items are not required, they will not be described here.Google Scholar
  6. *).
    One exception is the SIMULA compiler of UNIVAC which includes complex arithmetic.Google Scholar

Copyright information

© Springer Fachmedien Wiesbaden 1981

Authors and Affiliations

  • Günther Lamprecht
    • 1
  1. 1.BremenDeutschland

Personalised recommendations