Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Order of execution
Message
 
À
03/04/2012 16:48:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 5
OS:
Windows 7
Divers
Thread ID:
01540196
Message ID:
01540382
Vues:
70
>Hi All:
>
>Where can I find documented the order that VFP uses to execute modules of the same name. e.g. If I have a program called FOOPROC.PRG which contains a procedure called FOO and I also have a program called FOO.PRG, If there I SET PROCEDURE TO fooproc I issue a DO FOO, which one does VFP execute?
>
>Thanks,
>
>Yossi

I don't know where it is documented, but the order is

1) Procedure defined in the currently running prg
2) Procedure in a SET PROCEDURE TO file
3) PRG file contained in the running App or Exe
4) Independant PRG on disk

Craig gave sound advice.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform