[Home] [Prev] [Next] [Index]

A.11 Wide Text Input-Output

A.11 Wide Text Input-Output

1
The package Wide_Text_IO provides facilities for input and output in human-readable form.  Each file is read or written sequentially, as a sequence of wide characters grouped into lines, and as a sequence of lines grouped into pages.

Static Semantics

2
The specification of package Wide_Text_IO is the same as that for Text_IO, except that in each Get, Look_Ahead, Get_Immediate, Get_Line, Put, and Put_Line procedure, any occurrence of Character is replaced by Wide_Character, and any occurrence of String is replaced by Wide_String.

3
Nongeneric equivalents of Wide_Text_IO.Integer_IO and Wide_Text_IO.Float_IO are provided (as for Text_IO) for each predefined numeric type, with names such as Ada.Integer_Wide_Text_IO, Ada.Long_Integer_Wide_Text_IO, Ada.Float_Wide_Text_IO, Ada.Long_Float_Wide_Text_IO.

3.a
Change: Preinstantiations of Wide_Text_IO.Integer_IO and Wide_Text_IO.Float_IO added, as per WG9 resolution.

Extensions to Ada 83

3.b
Support for Wide_Character and Wide_String I/O is new in Ada 9X.



[Home] [Prev] [Next] [Index]

documentation@rational.com
Copyright © 1993-1998, Rational Software Corporation.   All rights reserved.