Previous: 2.2.13.8. Constructors To the Table of Contents Next: 2.2.13.10. Using New Procedure (OOP)
2.2.13.8. Constructors Table of Contents 2.2.13.10. Using New Procedure (OOP)

- 2.2.13.9. -
Table of Contents
2. TMT Pascal Language Description
2.2. Pascal Language Structure
2.2.13. OOP Extensions
2.2.13.9. Fail procedure


2.2.13.9. Fail procedure


Called from within a constructor, Fail causes the constructor to de-allocate a dynamic object it has just allocated.

Declaration:
  procedure Fail;
Remarks:
Fail must be called only if one of the constructor's operations fails.


Previous: 2.2.13.8. Constructors To the Table of Contents Next: 2.2.13.10. Using New Procedure (OOP)
2.2.13.8. Constructors Table of Contents 2.2.13.10. Using New Procedure (OOP)

- 2.2.13.9. -