Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unused classes
Message
De
06/03/2006 14:46:13
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
 
À
06/03/2006 13:09:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
01101765
Message ID:
01101807
Vues:
22
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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform