3 -- Grant of Unlimited Rights
5 -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
6 -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
7 -- unlimited rights in the software and documentation contained herein.
8 -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
9 -- this public release, the Government intends to confer upon all
10 -- recipients unlimited rights equal to those held by the Government.
11 -- These rights include rights to use, duplicate, release or disclose the
12 -- released technical data and computer software in whole or in part, in
13 -- any manner and for any purpose whatsoever, and to have or permit others
18 -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
19 -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
20 -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
21 -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
22 -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
23 -- PARTICULAR PURPOSE OF SAID MATERIAL.
26 -- CHECK THAT FIXED_IO GET WHEN SUPPLIED WITH A WIDTH PARAMETER
27 -- GREATER THAN ZERO READS ONLY THAT MANY CHARACTERS. ALSO CHECK
28 -- THAT INPUT TERMINATES WHEN A LINE TERMINATOR IS ENCOUNTERED AND
29 -- THAT DATA_ERROR IS RAISED WHEN THE DATA IS INVALID.
31 -- APPLICABILITY CRITERIA:
32 -- THIS TEST IS APPLICABLE ONLY TO IMPLEMENTATIONS WHICH
33 -- SUPPORT TEXT FILES.
36 -- DWC 09/14/87 CREATED ORIGINAL TEST.
37 -- RJW 08/17/89 CHANGED THE VALUE '-3.525' TO '-3.625'.
45 INCOMPLETE
: EXCEPTION;
49 TEST
("CE3804H", "CHECK THAT FIXED_IO GET WHEN SUPPLIED WITH " &
50 "A WIDTH PARAMETER GREATER THAN ZERO READS " &
51 "ONLY THAT MANY CHARACTERS. ALSO CHECK THAT " &
52 "INPUT TERMINATES WHEN A LINE TERMINATOR IS " &
53 "ENCOUNTERED AND THAT DATA_ERROR IS RAISED " &
54 "WHEN THE DATA IS INVALID");
61 CREATE
(FT
, OUT_FILE
, LEGAL_FILE_NAME
);
64 NOT_APPLICABLE
("USE_ERROR RAISED; TEXT CREATE " &
65 "WITH OUT_FILE MODE");
68 NOT_APPLICABLE
("NAME_ERROR RAISED; TEXT CREATE " &
69 "WITH OUT_FILE MODE");
73 PUT
(FT
, "3.259.5 8.52");
77 PUT
(FT
, ASCII
.HT
& "9.0");
87 TYPE FIXED
IS DELTA 0.001 RANGE -100.0 .. 100.0;
88 PACKAGE FX_IO
IS NEW FIXED_IO
(FIXED
);
94 OPEN
(FT
, IN_FILE
, LEGAL_FILE_NAME
);
97 NOT_APPLICABLE
("USE_ERROR RAISED; TEXT" &
98 "OPEN WITH IN_FILE MODE");
104 FAILED
("WIDTH CHARACTERS NOT READ - FIXED - 1");
108 FAILED
("WIDTH CHARACTERS NOT READ - " &
113 FAILED
("DIDN'T COUNT LEADING BLANKS " &
119 FAILED
("DATA_ERROR NOT RAISED - " &
125 FAILED
("WRONG EXCEPTION RAISED"
132 FAILED
("GET WITH WIDTH " &
139 FAILED
("WIDTH CHARACTERS NOT " &