home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / xco212p.zip / ODEF / OUT.ODF < prev    next >
Text File  |  1996-03-05  |  1KB  |  45 lines

  1. (** Oakwood Oberon-2 library *)
  2. (** Copyright (c) xTech 1994,95. All Rights Reserved. *)
  3. DEFINITION Out;
  4.  
  5. (** Formatted output of characters, numbers and strings. *)
  6.  
  7. PROCEDURE Open*;
  8. (** Initializes the output stream *)
  9.  
  10. PROCEDURE Char*(ch: CHAR);
  11. (** Writes the character ch to the end of the output stream *)
  12.  
  13. PROCEDURE String*(str: ARRAY OF CHAR);
  14. (** Writes the null-terminated character sequence s to the
  15.   end of the output stream (without 0X).
  16. *)
  17.  
  18. PROCEDURE Int*(x,n: LONGINT);
  19. (** Writes the integer number x to the end of the output stream.
  20.   If the textual representation of i requires m characters,
  21.   x is right adjusted in a field Max(n,m) characters padded with
  22.   blanks at the left end. A plus sign is not written.
  23. *)
  24.  
  25. PROCEDURE Real*(x: REAL; n: INTEGER);
  26. (** Writes the real number x to the end of the output stream.
  27.   If the textual representation of x requires m characters,
  28.   x is right adjusted in a field Max(n,m) characters padded with
  29.   blanks at the left end. A plus sign of the mantissa is not
  30.   written.
  31. *)
  32.  
  33. PROCEDURE LongReal*(x: LONGREAL; n: INTEGER);
  34. (** Writes the long real number x to the end of the output stream.
  35.   If the textual representation of x requires m characters,
  36.   x is right adjusted in a field Max(n,m) characters padded with
  37.   blanks at the left end. A plus sign of the mantissa is not
  38.   written.
  39. *)
  40.  
  41. PROCEDURE Ln*;
  42. (** Writes an end-of-line symbol to the end of the output stream *)
  43.  
  44. END Out.
  45.