By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,534 Members | 910 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,534 IT Pros & Developers. It's quick & easy.

how to overwrite console.write?

P: n/a
Hello,

I need to write to the console window, but I don't want to add a new line,
and I don't want to write the next value adjacent to the previous value. I
just want to overwrite the previous value. How can this be performed?

Thanks,
Rich
Nov 7 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Rich,

Console.CursorLeft and Console.CursorTop will let you position the cursor.
Then whatever you write will overwrite what was at that location.

Kerry Moorman
"Rich" wrote:
Hello,

I need to write to the console window, but I don't want to add a new line,
and I don't want to write the next value adjacent to the previous value. I
just want to overwrite the previous value. How can this be performed?

Thanks,
Rich
Nov 7 '06 #2

P: n/a
Thanks. That is just what I needed.

Rich

"Kerry Moorman" wrote:
Rich,

Console.CursorLeft and Console.CursorTop will let you position the cursor.
Then whatever you write will overwrite what was at that location.

Kerry Moorman
"Rich" wrote:
Hello,

I need to write to the console window, but I don't want to add a new line,
and I don't want to write the next value adjacent to the previous value. I
just want to overwrite the previous value. How can this be performed?

Thanks,
Rich
Nov 7 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.