Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Functions
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00573410
Message ID:
00573428
Vues:
30
>To make the finctions in myfunctions.prg visible to foxpro add following line to your main program
SET PROCEDURE TO  MyFunction.prg ADDITIVE
>
>>I have a prg file (myfunctions) that contains functions for example:
>>
>>&&MyFunction.prg
>>FUNCTION callmyfunction1 ( parm1, parm2)
>> retval = parm1 * parm2
>> return retval
>>
>>FUNCTION callmyfunction2 (parm1, parm2)
>> retval = parm1 / parm2
>> return retval
>>
>>
>>
>>How can I access callmyfunction1 function from my forms. I did the following and it didn't work and error message was displayed file 'callmyfunction1' does not exist.:
>>
>>retval = callmyfunction1 (parm1, parm2)
>>
>>I'm I going about this all wrong?
>>
>>Thanks
>>Nick Patel


Thanks, that worked
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform