Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call proc in different directory
Message
From
24/06/2009 15:14:02
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01408150
Message ID:
01408206
Views:
45
>>myVar = myFunc(myParms) --> Error: File myFunc.prg does not exist
>>myVar = subdir\myFunc(myParms) --> Error: Syntax Error
>>? subdir\myFunc(myParms) --> Error: Command contains unrecognized phrase/keyword
>>
>>Can this be done?
>>
>
>Rich,
>
>
>SET PROCEDURE TO Somepath\MyFunc.prg
>
>MyVar = myFunc(myParms)
>

Thanks for responding.

I was hoping for some simple call that wouldn't modify any environment setting (PATH, PROCEDURE, etc).

I'll probably just do the simple thing and modifiy the initial PATH setting to include the directory
Previous
Reply
Map
View

Click here to load this message in the networking platform