Created
October 7, 2016 07:17
-
-
Save gevasiliou/2230bc798c6c31cc145c3d08c9074be1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program Lesson7_Program1; | |
Uses Crt; | |
Procedure DrawLine; | |
{This procedure helps me to avoid the rewriting the for loops} | |
Var Counter : Integer; | |
{Procedure Code Start} | |
Begin | |
textcolor(green); | |
For Counter := 1 to 10 do | |
Begin | |
Write(chr(196)); | |
End; | |
End; | |
{Main Programm Start} | |
Begin | |
GotoXy(10,5); | |
DrawLine; | |
GotoXy(10,6); | |
DrawLine; | |
Readkey; | |
End |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment