IOCONSTS.DEF 603 B

1234567891011121314151617
  1. DEFINITION MODULE IOConsts;
  2. (* Types and constants for input/output modules *)
  3. (* The following type is used to classify the result of an input operation: *)
  4. TYPE
  5. ReadResults = (
  6. notKnown, (* no read result is set *)
  7. allRight, (* data is as expected or as required *)
  8. outOfRange, (* data cannot be represented *)
  9. wrongFormat, (* data not in expected format *)
  10. endOfLine, (* end of line seen befopre expected data *)
  11. endOfInput (* end of input seen before expected data *)
  12. );
  13. END IOConsts.