[Pascal]How to move cursor?

Write here if you have problems with your Pascal source code

Moderator: Board moderators

Post Reply
hf_1992
New poster
Posts: 4
Joined: Sat Nov 11, 2006 6:44 am

[Pascal]How to move cursor?

Post by hf_1992 » Sat Nov 11, 2006 6:49 am

The following is a segment of my code
......
read(i,j);
......
writeln(max);
......
After I input i,j(enter is pressed), the cursor moves to the next line, how can I move the cursor back?

Willy.E
New poster
Posts: 1
Joined: Wed Jun 06, 2007 5:50 pm

Post by Willy.E » Wed Jun 06, 2007 5:52 pm

you can use uses crt;
and gotoxy(x,y);

Post Reply

Return to “Pascal”