ex11.pp 349 B

12345678910111213141516171819
  1. Program Example10;
  2. uses Crt;
  3. { Program to demonstrate the InsLine function. }
  4. begin
  5. ClrScr;
  6. WriteLn;
  7. WriteLn('Line 1');
  8. WriteLn('Line 2');
  9. WriteLn('Line 2');
  10. WriteLn('Line 3');
  11. WriteLn;
  12. WriteLn('Oops, Line 2 is listed twice, let''s delete the line at the cursor postion');
  13. GotoXY(1,3);
  14. ReadKey;
  15. DelLine;
  16. GotoXY(1,10);
  17. end.