home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / modu1096.zip / ISOsym / sioresult.def < prev    next >
Text File  |  1996-08-29  |  697b  |  24 lines

  1. DEFINITION MODULE SIOResult;
  2.  
  3.     (* Obtain read results on the default channel *)
  4.  
  5. IMPORT IOConsts;
  6.  
  7. TYPE
  8.   ReadResults = IOConsts.ReadResults;
  9. (* ReadResults = (* This type is used to classify the result of an input operation *)
  10.   (
  11.   notKnown,     (* no read result is set *)
  12.   allRight,     (* data is as expected or as required *)
  13.   outOfRange,   (* data cannot be represented *)
  14.   wrongFormat,  (* data not in expected form *)
  15.   endOfLine,    (* end of line seen before expected data *)
  16.   endOfInput,   (* end of input seen before expected data *)
  17.   );
  18. *)
  19.  
  20. PROCEDURE ReadResult () : ReadResults;
  21. (* Returns the result for the last read operation on the default input channel *)
  22.  
  23. END SIOResult.
  24.