Previous: Cpl Unit To the Table of Content Next: Console Applications

- 4.8 -
Standard Units

The CRT Unit

Targets: MS-DOS, OS/2, Win32 console


The CRT unit contains routines to control the keyboard and monitor. This unit, with over 20 functions and procedures, allows for a powerful interface to be developed between the program and the user. To the end user, a program's appearance and interface are essential aspects that cannot be ignored. With CRT, programming window displays and keyboard handling is a breeze. In the initialization code for CRT, output to the monitor or screen is redirected from the console standard input and output files to the direct screen I/O.

Redirection is possible only if the Input and Output file are assigned and reopened.

The CRT units allows one to easily create OS/2 and Win32 console applications.

Only few specific differences remains between MS-DOS, OS/2 and Win32 implementations of CRT unit. All these differences are described in this chapter of help.


Previous: Cpl Unit To the Table of Content Next: Console Applications
Cpl Unit Table of Content Console Applications

- 4.8 -