Console.cp 593 B

1234567891011121314151617181920212223
  1. (*
  2. * Library module for GP Component Pascal.
  3. * Low level reading and writing to the command-line console.
  4. * Original : kjg November 1998
  5. *
  6. *
  7. * This is a dummy module, it exists only to cause the
  8. * generation of a corresponding symbol file: Console.cps
  9. * when compiled with the -special flag.
  10. *)
  11. SYSTEM MODULE Console;
  12. PROCEDURE WriteLn*();
  13. PROCEDURE Write*(ch : CHAR);
  14. PROCEDURE WriteString*(IN str : ARRAY OF CHAR);
  15. PROCEDURE WriteInt*(val : INTEGER; width : INTEGER);
  16. PROCEDURE WriteHex*(val : INTEGER; width : INTEGER);
  17. END Console.