Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call proc in different directory
Message
De
24/06/2009 15:14:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01408150
Message ID:
01408206
Vues:
46
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform