Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check if Function/Procedure exists
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00792369
Message ID:
00792373
Vues:
14
>I'm writing an application that needs to call table-driven function names. For example, the table may have the following records:
>
>funcName(first,last)
>funcAddress(mailing)
>funcName(last)
>...
>
>I want to get the data from the table and call that function. I would like to put in a validation to check that the specified function exists before I call it, if possible.
>
>Thanks! Everyone here is always so helpful. :)

If you know a bit about the structure of the app and where these functions should have been defined (which .PRG they live in), you could use APROCINFO() to see if they're there.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform