Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sys(2450) -- What does it actually do?
Message
De
10/01/2006 13:08:10
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01085246
Message ID:
01085274
Vues:
16
>I'm confused about Sys(2450).
>
>I thought that VFP always searched the current executing module (FXP file) plus all "Set Procedure To" entities before looking to disk to find a function/procedure by a given name. i.e., so that if you had a FXP with multiple procedures in it, and one procedure in the FXP called another procedure PROC2 in the same FXP, then VFP would _always_ preferentially find PROC2 in the FXP and execute it, before looking for and executing a PROC2.FXP that might be on disk.
>

The issue is that even when the routine VFP ends up executing is bound into an APP/EXE, the search order means that VFP can go off and search the disk before settling on the bound routine. SYS(2450) lets you turn off that behavior so that you don't spend the time for the search. It doesn't change what gets executed, only how long it takes.


Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform