sioresult.def 577 B

1234567891011121314151617181920
  1. DEFINITION MODULE SIOResult;
  2. (* ISO 10514-1: the read result of the last operation on the default
  3. input channel.
  4. V3 extension: SetReadResult lets the text-IO modules record the
  5. status; it is not part of ISO 10514-1 (extra exports are harmless
  6. to standard clients). *)
  7. IMPORT IOConsts;
  8. TYPE
  9. ReadResults = IOConsts.ReadResults;
  10. PROCEDURE ReadResult () : ReadResults;
  11. (* The result of the last read on the default input channel. *)
  12. PROCEDURE SetReadResult (r : ReadResults);
  13. (* Records a new read result (called by STextIO/SWholeIO/SRealIO). *)
  14. END SIOResult.