home *** CD-ROM | disk | FTP | other *** search
- {
- CRT.i
-
- These routines are a simple attempt to mimic the Turbo Pascal
- CRT routines. See ConsoleTest.p for an example of using these.
- Note that ConsoleSetPtr, the actual type returned by
- AttachConsole, is not defined here. I wanted to implement it as sort
- of an opaque type.
- }
-
- {$I "Include/Intuition.i"}
-
- Function AttachConsole(w : WindowPtr) : Address;
- External;
-
- Function ReadKey(con : Address) : Char;
- External;
-
- Function KeyPressed(con : Address) : Boolean;
- External;
-
- Procedure WriteString(con : Address; Str : String);
- External;
-
- Procedure DetachConsole(con : Address);
- External;
-