Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedure Commands
Message
De
23/03/2004 13:44:29
 
 
À
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:
00888974
Vues:
15
Hi Chad,

AFAIK you can not do that directly, which is one of many reasons why you should always have unique function names. You may be able to get what you want by SET PROCEDURE TO yourproc, and issue trueorfalse=x(param1), which by the way is the only way to get a result back.

>I have a program that has two procedures, PROCEDURE x and PROCEDURE y. Both procedures either RETURN .T. or RETURN .F. depending on certain circurmstances in the procedure. I am using the command: DO PROCEDURE x WITH param1 IN proc.prg to call both of my procedures. Is there a way to find out if my procedure returns .T. or .F.? 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. Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform