Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Clear Screen

 
Bashkim Isai
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you clear the screen. I've search groups.google.com and they all refer to requiring ASCI in the system config file. I can't do this because it's for assessment.

Thanks
 
Ben Wood
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure there is an easy answer to this, I can only find examples of odd workarounds that have not worked for me so far and may well be specific OS dependent in any case. If you don't mind me saying so, for Java at least, it seems a fairly pointless task in the first place. You could just print out a load of blank lines maybe to push existing output out of view!?

If this is for an assignment I would probably be questioning it's value - perhaps the tutors have not really thought about why they are asking you to do this in your program output when designing the assignment brief.
 
Hey, sticks and stones baby. And maybe a wee mention of my stuff:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!