Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unused classes
Message
From
06/03/2006 14:46:13
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
 
To
06/03/2006 13:09:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
01101765
Message ID:
01101807
Views:
21
Hi Hilmar,

>Does anyone have some sort of utility to check for unused classes?
>I guess the definition would be something like: Search for classes that are defined in some classlib in the project, but that are neither subclassed nor instantiated anywhere in the project.
>Checking if a single class would be relatively simple with a file search utility such as Agent Ransack, but I was hoping for something more systematic.
>TIA,
>Hilmar.

Curiosity: And in the cases in that we create object thus:
lsClassFirstName = "myClass"
lsCompleteName = lsClassFirstName + [SQL]
loObject = CreateObject(lsCompleteName)
I think that if one class is used this way it'll be considered like Unused. Does it correct? 8-D
Erick
Força Sempre!
Strength Always!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform