Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function exists in a PRG?
Message
 
À
16/03/2007 13:38:49
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01204677
Message ID:
01204756
Vues:
18
>>Dear all,
>>
>>Wondering if there is a way to find out if a function is defined in a PRG without actually running the function?
>>
>>Thanks!
>
>Don't waste your time. Break the function out of the .prg to it's own separate prg. If it supposed to be called at all include it in the exe. No need to check anything.

Oh in some of the PRG there is a UnitTest() defined for testing that module. I am writing a test driver which loops through all PRG in a project and calls UnitTest() if it exists in them. I could have separated the function out but putting related things together in one file is easier for me.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform