Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function call - a better way
Message
From
08/07/1999 01:14:16
 
 
To
08/07/1999 00:53:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00238688
Message ID:
00238691
Views:
12
Hi Anita ---

Well, there is DO procedure IN procfile. As to the rest of your suggestion, I would doubt it. Current design theory for VFP suggests that you're better off creating function or domain specific custom classes and creating methods in those classes to call. Something like:

oDB=NEWOBJECT("datafuncs","myclasslib")
oDB.GetTotals()
oDB.Reindex()




>Just a thought!
>
>Is there anything under MS's consideration for simplifying
>"set procedure to "
>
> something similar to NewObject()
>
>or a new way of calling functions without set procedure to.
>
>May be somthing like:
>***
>Function function_name( [p1, [p2, [...]]])in program_or_library_name
>***
>
>and let FoxPro take care of activating and releasing of programs.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform