DocAda(tm) is a productivity tool of KSCE

Prev | Up | Next | Back | Forward
About DocAda Light: Preface / Preliminary / Help / TOC / Copyright
DocAda Online at the Ada Home: Complete RM95 / Updates / News

A.8.2 File Management

Static Semantics

The procedures and functions described in this subclause provide for the control of external files; their declarations are repeated in each of the packages for sequential, direct, text, and stream input-output. For text input-output, the procedures Create, Open, and Reset have additional effects described in subclause A.10.2.

   
       procedure Create(File : in out File_Type;
                        Mode : in File_Mode := default_mode;
                        Name : in String := "";
                        Form : in String := "");
   
       procedure Open(File : in out File_Type;
                      Mode : in File_Mode;
                      Name : in String;
                      Form : in String := "");
   
       procedure Close(File : in out File_Type);
    
       procedure Delete(File : in out File_Type);
    
       procedure Reset(File : in out File_Type; Mode : in File_Mode);
       procedure Reset(File : in out File_Type);
    
       function Mode(File : in File_Type) return File_Mode;
    
       function Name(File : in File_Type) return String;
    
       function Form(File : in File_Type) return String;
    
       function Is_Open(File : in File_Type) return Boolean;

Implementation Permissions

An implementation may propagate Name_Error or Use_Error if an attempt is made to use an I/O feature that cannot be supported by the implementation due to limitations in the external environment. Any such restriction should be documented.

About DocAda Light: Preface / Preliminary / Help / TOC / Copyright
DocAda Online at the Ada Home: Complete RM95 / Updates / News
Prev | Up | Next | Back | Forward


Copyright © 1994-1997 by Kempe Software Capital Enterprises. All Rights Reserved. For comments on this DocAda(tm) hypertext document, please write to KSCE, at docada@ksce.com