Ada 95 Quality and Style Guide Chapter 7

Chapter 7: Portability - TOC - 7.7 INPUT/OUTPUT

7.7.2 File Closing

guideline

  • Close all files explicitly.

  • rationale

    The Ada Reference Manual (1995, §A.7) does not define what happens to external files after completion of the main subprogram (in particular, if corresponding files have not been closed).

    The disposition of a closed temporary file may vary, perhaps affecting performance and space availability (ARTEWG 1986).


    < Previous Page Search Contents Index Next Page >
    1 2 3 4 5 6 7 8 9 10 11
    TOC TOC TOC TOC TOC TOC TOC TOC TOC TOC TOC
    Appendix References Bibliography