ex10.pp 308 B

123456789101112131415161718
  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 3');
  9. WriteLn;
  10. WriteLn('Oops, forgot Line 2, let''s insert at the cursor postion');
  11. GotoXY(1,3);
  12. ReadKey;
  13. InsLine;
  14. Write('Line 2');
  15. GotoXY(1,10);
  16. end.