home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turbo Toolbox
/
Turbo_Toolbox.iso
/
1991
/
06
/
praxis
/
testcrt.pas
< prev
Wrap
Pascal/Delphi Source File
|
1991-03-12
|
1KB
|
37 lines
(* ------------------------------------------------------ *)
(* TESTCRT.PAS *)
(* (c) 1991 Andreas Schallmaier & TOOLBOX *)
(* ------------------------------------------------------ *)
PROGRAM TestCRT;
USES WinTypes, Strings, WinCrt;
VAR
Source : Text;
FileName, Line : STRING;
BEGIN
{ Mit TRUE wird das Fenster gescrollt, wenn
Ausgabeoperationen es nötig machen }
AutoTracking := TRUE;
InactiveTitle := 'Programmausführung beendet : %s';
ScreenSize.X := 80;
ScreenSize.Y := 512;
StrCopy(WindowTitle, 'Test für WinCRT');
Assign (Source, 'TESTCRT.PAS');
Reset (Source);
WriteLn(Output, 'Hier ist der Quelltext dieses ',
'Programms...');
WHILE NOT EOF(Source) DO BEGIN
ReadLn (Source, Line);
WriteLn(Output, Line);
END;
Close(Source);
WriteLn(Output, '<Enter> zum beenden...');
ReadLn (Input);
Close(Output);
END.
(* ------------------------------------------------------ *)
(* Ende von TESTCRT.PAS *)