Computer Science Canada delete non used varibles |
Author: | kythoon [ 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? |
Author: | Asok [ Wed May 21, 2003 9:37 pm ] |
Post 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. |
Author: | kythoon [ Wed May 21, 2003 9:50 pm ] |
Post subject: | |
oh, didn't know that thanks |
Author: | Tony [ Thu May 22, 2003 10:19 am ] |
Post 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 |