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

Username:   Password: 
 RegisterRegister   
 delete non used varibles
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
kythoon




PostPosted: Wed May 21, 2003 9:29 pm   Post subject: delete non used varibles

is there any way to check if your not using a varible?

i have tons but i'm not sure if i'm using them all


do you just have to search of each one?
Sponsor
Sponsor
Sponsor
sponsor
Asok




PostPosted: Wed May 21, 2003 9:37 pm   Post subject: (No subject)

you need to actually check to make sure it's being used.

or if it's a mathematical thing, default it to 0 and then check the value at the end of the program.
kythoon




PostPosted: Wed May 21, 2003 9:50 pm   Post subject: (No subject)

oh, didn't know that

thanks
Tony




PostPosted: Thu May 22, 2003 10:19 am   Post subject: (No subject)

also I think that turing has that debug program that tells you the values of variables used as the program is running... Atleast I remember using it in v3 once Confused
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
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: