Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Delete text when exit loop.

Author
Message
Clbembry
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 7th Feb 2007 00:23
Hey everyone. I'm having a small problem with loops. I want it so that when I exit my main menu screen loop, it deletes all of the text. Right now I have it so it goes to a subroutine, but the menu text is still there!

Anyone know why it does this?
I'm using Dark Basic Classic.
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 7th Feb 2007 00:54
cls

clears the screen.

Code Dragon
18
Years of Service
User Offline
Joined: 21st Aug 2006
Location: Everywhere
Posted: 7th Feb 2007 00:54 Edited at: 7th Feb 2007 00:55
[edit]
Phaelax beat me to it

Kieran
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location: Hamilton, New Zealand
Posted: 7th Feb 2007 05:39 Edited at: 7th Feb 2007 05:41
yup cls or sync when it exits the loop (if ur using sync) i think it works anyway

EDIT: nvm i dont think syn works but cls does

~Kieran

Login to post a reply

Server time is: 2024-11-26 00:34:03
Your offset time is: 2024-11-26 00:34:03