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 / i need help

Author
Message
gamer n00b
18
Years of Service
User Offline
Joined: 14th Jan 2006
Location:
Posted: 18th Jan 2006 01:21
im still having trouble restarting this program!!!all i want to do is make a button so that the program will restart and u can play again thats it...so if anyone can help that would be great.

I need help please!!!
crighton
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: In your soup.
Posted: 18th Jan 2006 15:07 Edited at: 18th Jan 2006 15:08
hmmmm, judging from what you have there, there isnt a point where you tell it to restart?, or maybe i missed it.

Both win and loose situations tell the program to finish.

Start of by making another spot to jump to like
endgame:
then, delete(or hide) all objects, and then jump back to
begin:
or start:
or num:

if your going to just hide your objects, then the program will have to check if they exist and show them. If they dont exist(first run) then create them.

hope this helped.


****edit****
spelling bug again, someone please fix this.


Why are the forgotten always remembered? But no-one remembers me?!
gamer n00b
18
Years of Service
User Offline
Joined: 14th Jan 2006
Location:
Posted: 19th Jan 2006 03:23
how do you delete all items?
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 19th Jan 2006 14:11
use a for-next loop
like;


life's one big game
gamer n00b
18
Years of Service
User Offline
Joined: 14th Jan 2006
Location:
Posted: 20th Jan 2006 02:42
where should i put that in my code then?

Login to post a reply

Server time is: 2024-11-27 07:43:19
Your offset time is: 2024-11-27 07:43:19