Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedure Commands
Message
De
23/03/2004 14:47:21
 
 
À
23/03/2004 14:33:09
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:
00888994
Vues:
20
I don't quite understand what youi mean.

There are only two differences between a function and a procedure:
1. The location of the procedure can be hardcoded, like DO whatever IN yourprocedurefile
2. A function returns a value.

As far as I can see, you mix a procedure (which is inside a procedure file) and the individual procedures in a procedure file?

If you know procedure x (version 1) is in procedure file a, and procedure x (version 2) is in procedure file b, you can use:
SET PROCEDURE TO A
returnvalue=x(param1)
to get the value returned from the x (version 1) procedure in procedure file a, and
SET PROCEDURE TO B
returnvalue=x(param1)
to get the value returned from the x (version 2) procedure in procedure file b. Which is what you want, or did I miss something?

>So it really doesn't matter what I return in my procedure, true or false, because I can't test for it anyway using DO PROCEDURE.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform