home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / xco212p.zip / ISODEF / sioresul.def < prev    next >
Text File  |  1994-12-22  |  768b  |  27 lines

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