
-----------------------------------
Azzy
Sun Nov 02, 2003 1:31 pm

Reset
-----------------------------------
is there a way to make the program reset and start over?

-----------------------------------
l0tt0
Sun Nov 02, 2003 2:46 pm


-----------------------------------
for my blackjack game that i made i had a loop and then a loop inside it...and at the end of the game i ask if they want to play again and if they say no then it exits the loop and then i used Win.Close (win) to just close the window...dont know if that helped ya any

-----------------------------------
thoughtful
Sun Nov 02, 2003 7:32 pm

loop
-----------------------------------
Well jus as he said, put a loop...this should look something like this


var restart:string
loop
%your code
get restart
     if restart=n then
     exit
     end if
end loop


-----------------------------------
Tony
Sun Nov 02, 2003 10:42 pm


-----------------------------------
just make sure to reset all your variables  :wink: though you should declear them outside of the repeat loop.

Though another way would be to use Fork + Sys.Exec :lol: But that's unpractical.

-----------------------------------
Dan
Mon Nov 03, 2003 1:43 pm


-----------------------------------

Though another way would be to use Fork + Sys.Exec :lol: But that's unpractical.

and wrong on some many levels  :? 

not to metion bad progaming   :shock:

-----------------------------------
Tony
Mon Nov 03, 2003 3:14 pm


-----------------------------------
i know, that's what I said it's unpractical :lol:

pff :roll: Imagine using that instead of loops :twisted:

-----------------------------------
Dan
Tue Nov 04, 2003 12:26 pm


-----------------------------------
shuuuuuuuuu, dont give tom west ideas  :P

-----------------------------------
Tony
Tue Nov 04, 2003 12:28 pm


-----------------------------------
I'm not... I think he's email is broken :? He hasn't replied to my last two questions I asked (maybe he just doesn't care?).

heh, should have seen plasma's post on his site :lol:

while I wait for Tommy to reply, I'm gonna write up a tutorial which I'll in fact just copy from help file and put my name on it

-----------------------------------
Dan
Tue Nov 04, 2003 12:32 pm


-----------------------------------
LOL, well lets not get into the war of the turing sites right now. dont need any more poleop saying they are going to take us down by making a crapy rip off and have a total of 19 members and like 2 posts  :roll: thats just painfull to wach  :P
