Debian Codegraph @

gcc/m2/gm2-libs-iso/IOConsts.def

raw
1 (* Library module defined by the International Standard
2 Information technology - programming languages
3 BS ISO/IEC 10514-1:1996E Part 1: Modula-2, Base Language.
4
5 Copyright ISO/IEC (International Organization for Standardization
6 and International Electrotechnical Commission) 1996-2021.
7
8 It may be freely copied for the purpose of implementation (see page
9 707 of the Information technology - Programming languages Part 1:
10 Modula-2, Base Language. BS ISO/IEC 10514-1:1996). *)
11
12 DEFINITION MODULE IOConsts;
13
14 (* Types and constants for input/output modules *)
15
16 TYPE
17 ReadResults = (* This type is used to classify the result of an input operation *)
18 (
19 notKnown, (* no read result is set *)
20 allRight, (* data is as expected or as required *)
21 outOfRange, (* data cannot be represented *)
22 wrongFormat, (* data not in expected format *)
23 endOfLine, (* end of line seen before expected data *)
24 endOfInput (* end of input seen before expected data *)
25 );
26
27 END IOConsts.
28