Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 getting rid of variables
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
rollerdude




PostPosted: 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
Sponsor
sponsor
ssr




PostPosted: Thu Mar 03, 2005 10:52 pm   Post subject: (No subject)

so can we see ur code? 8)
jamonathin




PostPosted: 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




PostPosted: 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: