VB Variable Tools

A

asit

Are there any tools that can wib through a very large project and tell you
if

a: The declared variables are in fact being used and not acutally used at
all.
b. That the used variable has not been declared and infract needs to be
declared.
c. All object variables within code have been erased from memory.
d. .... any other useful vaiable stats

Apologies if this is a basic question but any direction would be most
useful.

Thanks in advance
 
S

Someone

a: The declared variables are in fact being used and not acutally used at

MZTools freeware shows you that.

http://www.mztools.com/v3/mztools3.htm
b. That the used variable has not been declared and infract needs to be
declared.

Make sure that "Option Explicit" appears as the first line in every module.
When you compile, VB6 will tell you which variable/constant was not
declared. If you were calling an API function with undeclared constant, for
example, it would have a value of 0 and your code will not run as expected.
d. .... any other useful vaiable stats

MZTools shows some statistics and XML documentation that you can view with
IE.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top