Posted: Thu Mar 03, 2005 10:27 pm Post subject: getting rid of variables
so i'm making an arcade game, and when i click on the icon to play one of the games, it plays the game, fine, but when it's over, i want to free up memory by getting rid of declared variables
is there anyway to do this?
Sponsor Sponsor
ssr
Posted: Thu Mar 03, 2005 10:52 pm Post subject: (No subject)
so can we see ur code? 8)
jamonathin
Posted: Fri Mar 04, 2005 7:06 am Post subject: (No subject)
if you mean that certain veriables equal sum big ass pic, they have to be of "int" type so make em equal to a number, otherwise, juss go look up a flexible array tutorial.
Cervantes
Posted: Fri Mar 04, 2005 8:10 am Post subject: (No subject)
Well, if it's a picture, use Pic.Free. For fonts, Font.Free.
jamonathin wrote:
if you mean that certain veriables equal sum big ass pic
The variable isn't the picture, it's just a number that links to the picture. It's like files (you know how you have to have a streamIn variable).
Oh, and on that matter, also close files that are opened using close