delete non used varibles
Author |
Message |
kythoon
|
Posted: 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? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Asok
![](http://www.battle.net/war3/images/neutral/units/animations/pandarenbrewmaster.gif)
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
kythoon
|
Posted: Wed May 21, 2003 9:50 pm Post subject: (No subject) |
|
|
oh, didn't know that
thanks |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: 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 Confused](http://compsci.ca/v3/images/smiles/icon_confused.gif) |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
|
|