home *** CD-ROM | disk | FTP | other *** search
- { (C) Copyright 1986-1992 MetaWare Incorporated; Santa Cruz, CA 95060. }
-
- pragma c_include('implement.pf');
- package Console;
- pragma routine_aliasing_convention(Implement.RTE || 'kb%p');
- {
- Read/write a string from the console; emit newline.
- }
- procedure Gets(var S: String); External;
- procedure Puts(const S: String); External;
- procedure Newline(); External;
- -- What is the name of the console device?
- -- If you open In_name, you should be able to read from the console.
- -- If you open Out_name, you should be able to write to the screen.
- -- This is supported only if the OS supports it.
- procedure Console_names(var In_name,Out_name:String); External;
- end;
-
-