Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedure Commands
Message
De
23/03/2004 14:28:39
 
 
À
23/03/2004 13:34:58
Chad Ashpole
Ads Information Systems, Inc.
Minneapolis, Minnesota, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00888970
Message ID:
00888988
Vues:
17
>Unfortunately I cannot change the procedure code and I have to use DO PROCEDURE because, in my case, I have to specify the IN clause to tell it where my procedure is. If anyone can help me out I would appreciate it.

I think your main Problem here is the IN clause, since this isn't honoured by function calls.
Use Mike Yeager's approach and create wrappers in the app, where x and y are defined:

Procedure WrapX(tlReturn)
tlreturn = x()

Procedure WrapY(tlReturn)
tlreturn = y()

which can be called like

Do WrapX in MyAppToCall with llMyXReturnValue

from your normal code. It's a bit safer (and minimally slower) than the set proc approach...

HTH

thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform