home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff339.lzh / PCQ / Include / CRT.i < prev    next >
Text File  |  1990-03-19  |  624b  |  27 lines

  1. {
  2.     CRT.i
  3.  
  4.     These routines are a simple attempt to mimic the Turbo Pascal
  5.     CRT routines.  See ConsoleTest.p for an example of using these.
  6.     Note that ConsoleSetPtr, the actual type returned by
  7.     AttachConsole, is not defined here.  I wanted to implement it as sort
  8.     of an opaque type.
  9. }
  10.  
  11. {$I "Include/Intuition.i"}
  12.  
  13. Function AttachConsole(w : WindowPtr) : Address;
  14.     External;
  15.  
  16. Function ReadKey(con : Address) : Char;
  17.     External;
  18.  
  19. Function KeyPressed(con : Address) : Boolean;
  20.     External;
  21.  
  22. Procedure WriteString(con : Address; Str : String);
  23.     External;
  24.  
  25. Procedure DetachConsole(con : Address);
  26.     External;
  27.