KS0108 EraseTextLine command


How do I use the command EraseTextLine?

I am trying to print a number on the screen on a particular spot. The problem is:

if the first number is 345 and the second number is 12 then instead of 12, I am getting 125. I know the first number was not erase thats why the second number printed over it and I get 125.

I am writing on a spot (8, 6) and every time I writing the number, I do a EraseTextLine(6) but it don't work. I still get 125.
I tried using CursorTo(8,6) before I use EraseTextLine(). It don't work too.

Please help

How do I use the command EraseTextLine?

Wouldn't that depend on which library you were using?