1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>Ada95 - The Package Streams.Stream_IO</TITLE>
<META NAME="Author" CONTENT="JTC1/SC22/WG9/ARG, by Randall Brukardt, ARG Editor">
<META NAME="GENERATOR" CONTENT="Arm_Form.Exe, Ada Reference Manual generator">
<STYLE type="text/css">
DIV.paranum {position: absolute; font-family: Arial, Helvetica, sans-serif; left: 0.5 em; top: auto}
TT {font-family: "Courier New", monospace}
DT {display: compact}
DIV.Normal {font-family: "Times New Roman", Times, serif; margin-bottom: 0.6em}
DIV.Wide {font-family: "Times New Roman", Times, serif; margin-top: 0.6em; margin-bottom: 0.6em}
DIV.Annotations {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-bottom: 0.6em}
DIV.WideAnnotations {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-top: 0.6em; margin-bottom: 0.6em}
DIV.Index {font-family: "Times New Roman", Times, serif}
DIV.SyntaxSummary {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-bottom: 0.4em}
DIV.Notes {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-bottom: 0.6em}
DIV.NotesHeader {font-family: "Times New Roman", Times, serif; margin-left: 2.0em}
DIV.SyntaxIndented {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-bottom: 0.4em}
DIV.Indented {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-bottom: 0.6em}
DIV.CodeIndented {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-bottom: 0.6em}
DIV.SmallIndented {font-family: "Times New Roman", Times, serif; margin-left: 10.0em; margin-bottom: 0.6em}
DIV.SmallCodeIndented {font-family: "Times New Roman", Times, serif; margin-left: 8.0em; margin-bottom: 0.6em}
DIV.Examples {font-family: "Courier New", monospace; margin-left: 2.0em; margin-bottom: 0.6em}
DIV.SmallExamples {font-family: "Courier New", monospace; font-size: 80%; margin-left: 7.5em; margin-bottom: 0.6em}
DIV.IndentedExamples {font-family: "Courier New", monospace; margin-left: 8.0em; margin-bottom: 0.6em}
DIV.SmallIndentedExamples {font-family: "Courier New", monospace; font-size: 80%; margin-left: 15.0em; margin-bottom: 0.6em}
UL.Bulleted {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-right: 2.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.SmallBulleted {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-right: 6.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.NestedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-right: 4.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.SmallNestedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 8.0em; margin-right: 8.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.IndentedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 8.0em; margin-right: 8.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.CodeIndentedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-right: 6.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.CodeIndentedNestedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 8.0em; margin-right: 8.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.SyntaxIndentedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-right: 4.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.NotesBulleted {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-right: 4.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.NotesNestedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-right: 6.0em; margin-top: 0em; margin-bottom: 0.5em}
DL.Hanging {font-family: "Times New Roman", Times, serif; margin-top: 0em; margin-bottom: 0.6em}
DD.Hanging {margin-left: 6.0em}
DL.IndentedHanging {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-top: 0em; margin-bottom: 0.6em}
DD.IndentedHanging {margin-left: 2.0em}
DL.HangingInBulleted {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-right: 2.0em; margin-top: 0em; margin-bottom: 0.5em}
DD.HangingInBulleted {margin-left: 4.0em}
DL.SmallHanging {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-top: 0em; margin-bottom: 0.6em}
DD.SmallHanging {margin-left: 7.5em}
DL.SmallIndentedHanging {font-family: "Times New Roman", Times, serif; margin-left: 8.0em; margin-top: 0em; margin-bottom: 0.6em}
DD.SmallIndentedHanging {margin-left: 2.0em}
DL.SmallHangingInBulleted {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-right: 6.0em; margin-top: 0em; margin-bottom: 0.5em}
DD.SmallHangingInBulleted {margin-left: 5.0em}
DL.Enumerated {font-family: "Times New Roman", Times, serif; margin-right: 0.0em; margin-top: 0em; margin-bottom: 0.5em}
DD.Enumerated {margin-left: 2.0em}
DL.SmallEnumerated {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-right: 4.0em; margin-top: 0em; margin-bottom: 0.5em}
DD.SmallEnumerated {margin-left: 2.5em}
DL.NestedEnumerated {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-right: 2.0em; margin-top: 0em; margin-bottom: 0.5em}
DL.SmallNestedEnumerated {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-right: 6.0em; margin-top: 0em; margin-bottom: 0.5em}
</STYLE>
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFF0" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">
<P><A HREF="RM-TOC.html">Contents</A> <A HREF="RM-0-29.html">Index</A> <A HREF="RM-A-12.html">Previous</A> <A HREF="RM-A-12-2.html">Next</A></P>
<HR>
<H1> A.12.1 The Package Streams.Stream_IO</H1>
<DIV Class="Paranum"><FONT SIZE=-2>1</FONT></DIV>
<DIV Class="Normal"> <A NAME="I5897"></A>The subprograms in the child
package Streams.Stream_IO provide control over stream files. Access to
a stream file is either sequential, via a call on Read or Write to transfer
an array of stream elements, or positional (if supported by the implementation
for the given file), by specifying a relative index for an element. Since
a stream file can be converted to a Stream_Access value, calling stream-oriented
attribute subprograms of different element types with the same Stream_Access
value provides heterogeneous input-output. See <A HREF="RM-13-13.html">13.13</A>
for a general discussion of streams. </DIV>
<H4 ALIGN=CENTER>Static Semantics</H4>
<DIV Class="Paranum"><FONT SIZE=-2>1.1/1</FONT></DIV>
<DIV Class="Normal"> The elements of a stream file are stream elements.
If positioning is supported for the specified external file, a current
index and current size are maintained for the file as described in <A HREF="RM-A-8.html">A.8</A>.
If positioning is not supported, a current index is not maintained, and
the current size is implementation defined.<A NAME="I5898"></A><A NAME="I5899"></A>
</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>2</FONT></DIV>
<DIV Class="Normal" Style="margin-bottom: 0.4em"> The library package
Streams.Stream_IO has the following declaration: </DIV>
<DIV Class="Paranum"><FONT SIZE=-2>3</FONT></DIV>
<DIV Class="Examples"><TT><B>with</B> Ada.IO_Exceptions;<A NAME="I5900"></A><A NAME="I5901"></A><A NAME="I5902"></A><BR>
<B>package</B> Ada.Streams.Stream_IO <B>is</B></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>4</FONT></DIV>
<DIV Class="Examples"><TT> <B>type</B> <A NAME="I5903"></A><A NAME="I5904"></A>Stream_Access <B>is</B> <B>access</B> <B>all</B> Root_Stream_Type'Class;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>5</FONT></DIV>
<DIV Class="Examples"><TT> <B>type</B> <A NAME="I5905"></A><A NAME="I5906"></A>File_Type <B>is</B> <B>limited</B> <B>private;</B></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>6</FONT></DIV>
<DIV Class="Examples"><TT> <B>type</B> <A NAME="I5907"></A><A NAME="I5908"></A>File_Mode <B>is</B> (In_File, Out_File, Append_File);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>7</FONT></DIV>
<DIV Class="Examples"><TT> <B>type</B> <A NAME="I5909"></A><A NAME="I5910"></A>Count <B>is</B> <B>range</B> 0 .. <I>implementation-defined</I>;<BR>
<B>subtype</B> <A NAME="I5911"></A>Positive_Count <B>is</B> Count <B>range</B> 1 .. Count'Last;<BR>
-- <I>Index into file, in stream elements.</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>8</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5912"></A><A NAME="I5913"></A>Create (File : <B>in</B> <B>out</B> File_Type;<BR>
Mode : <B>in</B> File_Mode := Out_File;<BR>
Name : <B>in</B> String := "";<BR>
Form : <B>in</B> String := "");</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>9</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5914"></A><A NAME="I5915"></A>Open (File : <B>in</B> <B>out</B> File_Type;<BR>
Mode : <B>in</B> File_Mode;<BR>
Name : <B>in</B> String;<BR>
Form : <B>in</B> String := "");</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>10</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5916"></A><A NAME="I5917"></A>Close (File : <B>in</B> <B>out</B> File_Type);<BR>
<B>procedure</B> <A NAME="I5918"></A><A NAME="I5919"></A>Delete (File : <B>in</B> <B>out</B> File_Type);<BR>
<B>procedure</B> <A NAME="I5920"></A><A NAME="I5921"></A>Reset (File : <B>in</B> <B>out</B> File_Type; Mode : <B>in</B> File_Mode);<BR>
<B>procedure</B> <A NAME="I5922"></A><A NAME="I5923"></A>Reset (File : <B>in</B> <B>out</B> File_Type);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>11</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5924"></A><A NAME="I5925"></A>Mode (File : <B>in</B> File_Type) <B>return</B> File_Mode;<BR>
<B>function</B> <A NAME="I5926"></A><A NAME="I5927"></A>Name (File : <B>in</B> File_Type) <B>return</B> String;<BR>
<B>function</B> <A NAME="I5928"></A><A NAME="I5929"></A>Form (File : <B>in</B> File_Type) <B>return</B> String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>12</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5930"></A><A NAME="I5931"></A>Is_Open (File : <B>in</B> File_Type) <B>return</B> Boolean;<BR>
<B>function</B> <A NAME="I5932"></A><A NAME="I5933"></A>End_Of_File (File : <B>in</B> File_Type) <B>return</B> Boolean;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>13</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5934"></A><A NAME="I5935"></A>Stream (File : <B>in</B> File_Type) <B>return</B> Stream_Access;<BR>
-- <I>Return stream access for use with T'Input and T'Output</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>14/1</FONT></DIV>
<DIV Class="Examples"><TT><FONT SIZE=-1><I>This paragraph was deleted.</I></FONT></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>15</FONT></DIV>
<DIV Class="Examples"><TT> -- <I>Read array of stream elements from file</I><BR>
<B>procedure</B> <A NAME="I5936"></A><A NAME="I5937"></A>Read (File : <B>in</B> File_Type;<BR>
Item : <B>out</B> Stream_Element_Array;<BR>
Last : <B>out</B> Stream_Element_Offset;<BR>
From : <B>in</B> Positive_Count);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>16</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5938"></A><A NAME="I5939"></A>Read (File : <B>in</B> File_Type;<BR>
Item : <B>out</B> Stream_Element_Array;<BR>
Last : <B>out</B> Stream_Element_Offset);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>17/1</FONT></DIV>
<DIV Class="Examples"><TT><FONT SIZE=-1><I>This paragraph was deleted.</I></FONT></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>18</FONT></DIV>
<DIV Class="Examples"><TT> -- <I>Write array of stream elements into file</I><BR>
<B>procedure</B> <A NAME="I5940"></A><A NAME="I5941"></A>Write (File : <B>in</B> File_Type;<BR>
Item : <B>in</B> Stream_Element_Array;<BR>
To : <B>in</B> Positive_Count);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>19</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5942"></A><A NAME="I5943"></A>Write (File : <B>in</B> File_Type;<BR>
Item : <B>in</B> Stream_Element_Array);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>20/1</FONT></DIV>
<DIV Class="Examples"><TT><FONT SIZE=-1><I>This paragraph was deleted.</I></FONT></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>21</FONT></DIV>
<DIV Class="Examples"><TT> -- <I>Operations on position within file</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>22</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5944"></A><A NAME="I5945"></A>Set_Index(File : <B>in</B> File_Type; To : <B>in</B> Positive_Count);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>23</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5946"></A><A NAME="I5947"></A>Index(File : <B>in</B> File_Type) <B>return</B> Positive_Count;<BR>
<B>function</B> <A NAME="I5948"></A><A NAME="I5949"></A>Size (File : <B>in</B> File_Type) <B>return</B> Count;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>24</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5950"></A><A NAME="I5951"></A>Set_Mode(File : <B>in</B> <B>out</B> File_Type; Mode : <B>in</B> File_Mode);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>25/1</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5952"></A><A NAME="I5953"></A>Flush(File : <B>in</B> File_Type);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>26</FONT></DIV>
<DIV Class="Examples"><TT> -- <I>exceptions</I><BR>
<A NAME="I5954"></A>Status_Error : <B>exception</B> <B>renames</B> IO_Exceptions.Status_Error;<BR>
<A NAME="I5955"></A>Mode_Error : <B>exception</B> <B>renames</B> IO_Exceptions.Mode_Error;<BR>
<A NAME="I5956"></A>Name_Error : <B>exception</B> <B>renames</B> IO_Exceptions.Name_Error;<BR>
<A NAME="I5957"></A>Use_Error : <B>exception</B> <B>renames</B> IO_Exceptions.Use_Error;<BR>
<A NAME="I5958"></A>Device_Error : <B>exception</B> <B>renames</B> IO_Exceptions.Device_Error;<BR>
<A NAME="I5959"></A>End_Error : <B>exception</B> <B>renames</B> IO_Exceptions.End_Error;<BR>
<A NAME="I5960"></A>Data_Error : <B>exception</B> <B>renames</B> IO_Exceptions.Data_Error;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>27</FONT></DIV>
<DIV Class="Examples"><TT><B>private</B><BR>
... -- <I>not specified by the language</I><BR>
<B>end</B> Ada.Streams.Stream_IO;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>28</FONT></DIV>
<DIV Class="Normal"> The subprograms Create, Open, Close, Delete,
Reset, Mode, Name, Form, Is_Open, and End_of_File have the same effect
as the corresponding subprograms in Sequential_IO (see <A HREF="RM-A-8-2.html">A.8.2</A>).</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>28.1/1</FONT></DIV>
<DIV Class="Normal"> The Set_Mode procedure changes the mode of
the file. If the new mode is Append_File, the file is positioned to its
end; otherwise, the position in the file is unchanged.</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>28.2/1</FONT></DIV>
<DIV Class="Normal"> The Flush procedure synchronizes the external
file with the internal file (by flushing any internal buffers) without
closing the file or changing the position. Mode_Error is propagated if
the mode of the file is In_File.</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>29/1</FONT></DIV>
<DIV Class="Normal"> The Stream function returns a Stream_Access
result from a File_Type object, thus allowing the stream-oriented attributes
Read, Write, Input, and Output to be used on the same file for multiple
types. Stream propagates Status_Error if File is not open.</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>30</FONT></DIV>
<DIV Class="Normal"> The procedures Read and Write are equivalent
to the corresponding operations in the package Streams. Read propagates
Mode_Error if the mode of File is not In_File. Write propagates Mode_Error
if the mode of File is not Out_File or Append_File. The Read procedure
with a Positive_Count parameter starts reading at the specified index.
The Write procedure with a Positive_Count parameter starts writing at
the specified index.</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>30.1/1</FONT></DIV>
<DIV Class="Normal"> The Size function returns the current size
of the file.</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>31/1</FONT></DIV>
<DIV Class="Normal"> The Index function returns the current index.
</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>32</FONT></DIV>
<DIV Class="Normal"> The Set_Index procedure sets the current index
to the specified value.</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>32.1/1</FONT></DIV>
<DIV Class="Normal" Style="margin-bottom: 0.4em"> If positioning
is supported for the external file, the current index is maintained as
follows:</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>32.2/1</FONT></DIV>
<UL Class="Bulleted"><LI TYPE=DISC>For Open and Create, if the Mode parameter is Append_File,
the current index is set to the current size of the file plus one; otherwise,
the current index is set to one.</LI></UL>
<DIV Class="Paranum"><FONT SIZE=-2>32.3/1</FONT></DIV>
<UL Class="Bulleted"><LI TYPE=DISC>For Reset, if the Mode parameter is Append_File, or no
Mode parameter is given and the current mode is Append_File, the current
index is set to the current size of the file plus one; otherwise, the
current index is set to one.</LI></UL>
<DIV Class="Paranum"><FONT SIZE=-2>32.4/1</FONT></DIV>
<UL Class="Bulleted"><LI TYPE=DISC>For Set_Mode, if the new mode is Append_File, the current
index is set to current size plus one; otherwise, the current index is
unchanged.</LI></UL>
<DIV Class="Paranum"><FONT SIZE=-2>32.5/1</FONT></DIV>
<UL Class="Bulleted"><LI TYPE=DISC>For Read and Write without a Positive_Count parameter,
the current index is incremented by the number of stream elements read
or written.</LI></UL>
<DIV Class="Paranum"><FONT SIZE=-2>32.6/1</FONT></DIV>
<UL Class="Bulleted"><LI TYPE=DISC>For Read and Write with a Positive_Count parameter, the
value of the current index is set to the value of the Positive_Count
parameter plus the number of stream elements read or written. </LI></UL>
<DIV Class="Paranum"><FONT SIZE=-2>33</FONT></DIV>
<DIV Class="Normal"> If positioning is not supported for the given
file, then a call of Index or Set_Index propagates Use_Error. Similarly,
a call of Read or Write with a Positive_Count parameter propagates Use_Error.</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>34/1</FONT></DIV>
<DIV Class="Normal"> <FONT SIZE=-1><I>This paragraph was deleted.</I></FONT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>35/1</FONT></DIV>
<DIV Class="Normal"> <FONT SIZE=-1><I>This paragraph was deleted.</I></FONT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>36/1</FONT></DIV>
<DIV Class="Normal"> <FONT SIZE=-1><I>This paragraph was deleted.</I></FONT></DIV>
<H4 ALIGN=CENTER>Erroneous Execution</H4>
<DIV Class="Paranum"><FONT SIZE=-2>36.1/1</FONT></DIV>
<DIV Class="Normal"> <A NAME="I5961"></A>If the File_Type object
passed to the Stream function is later closed or finalized, and the stream-oriented
attributes are subsequently called (explicitly or implicitly) on the
Stream_Access value returned by Stream, execution is erroneous. This
rule applies even if the File_Type object was opened again after it had
been closed. </DIV>
<HR>
<P><A HREF="RM-TOC.html">Contents</A> <A HREF="RM-0-29.html">Index</A> <A HREF="RM-A-12.html">Previous</A> <A HREF="RM-A-12-2.html">Next</A> <A HREF="RM-TTL.html">Legal</A></P>
</BODY>
</HTML>
|