Prev | Up | ____ | Back | Forward
TOC -- / --.-- / --.--.-- | Index | Search | Syntax | Help


A.8.5 Direct Input-Output Operations

Static Semantics
(1)
The operations available for direct input and output are described in this subclause. The exception Status_Error is propagated if any of these operations is attempted for a file that is not open.
(2)
       procedure Read(File : in File_Type; Item : out Element_Type;
                                           From : in  Positive_Count);
       procedure Read(File : in File_Type; Item : out Element_Type);
(3)
(4)
(5)
       procedure Write(File : in File_Type; Item : in Element_Type;
                                            To   : in Positive_Count);
       procedure Write(File : in File_Type; Item : in Element_Type);
(6)
(7)
(8)
       procedure Set_Index(File : in File_Type; To : in Positive_Count);
(9)
(10)
       function Index(File : in File_Type) return Positive_Count;
(11)
(12)
       function Size(File : in File_Type) return Count;
(13)
(14)
       function End_Of_File(File : in File_Type) return Boolean;
(15)
(16)

(17)

Prev | Up | ____ | Back | Forward
TOC -- / --.-- / --.--.-- | Index | Search | Syntax | Help

Ada WWW Home -- Email comments, additions, corrections, gripes, kudos, etc. to:

Magnus Kempe -- Magnus.Kempe@di.epfl.ch
Copyright statement
Page last generated: 95-03-12