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 >
Wrap
Text File
|
1990-03-19
|
624b
|
27 lines
{
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;