Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function to check variable type
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00476059
Message ID:
00476360
Views:
25
>Is there a quick function to check if a variable is a field from a table or a memory variable ?
>
>
>Thanks in advance.

Neeraj,

This should work;
* IsMemVar.prg
LPARAMETERS tcVarToCheck
RETURN Type("m."+tcVarToCheck) <> "U"
Previous
Reply
Map
View

Click here to load this message in the networking platform