Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check if Function/Procedure exists
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00792369
Message ID:
00792373
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform