Regards pascal mania, good morning lovers Turbo Pascal, on this happy occasion I will write code to set the size of the display mode in turbo pascal 7.0. screen mode generally have memperunik function only for our program that initially large and then become small. . straight course. follow the following steps carefully.
How to make the program display mode (CO40):
- Please open your program Turbo Pascal 7.0.
- Select the file - new.
- Then write the code below:
- Then compile - compile or alt + f9 to make sure there are no errors in your program code.
- If there are no errors please select run - run.
- You can safely create their own programs screen mode.
program modelayar;
Uses CRT;
begin
TextMode(CO40);
Writeln('A Real BIG Characters on screen !');
Readln;
TextMode(CO80);
Writeln('Back to normal');
Readln;
end.
Uses CRT;
begin
TextMode(CO40);
Writeln('A Real BIG Characters on screen !');
Readln;
TextMode(CO80);
Writeln('Back to normal');
Readln;
end.
* Greeting pascal mania and may be useful.