Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to run Stored Procedure?
Message
De
06/05/2006 00:42:39
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01119387
Message ID:
01119846
Vues:
15
>>>Yes, I plan to remove this function from the procedure file and leave in SP.
One of the few real backdrops of vfp compared to FPW is the handling of identically
named functions. There even was a warning [at least in the help files of vfp6,
haven't checked recently] to avoid having functions with the same name,
since calling behaviour [at least across different loaded apps]
depends in some cases on the actions the user has taken previously.

>=MyFunction(par,par) or DO myFunction with ... to make internal search quicker?
Remember that they are NOT equivalent in the "naive" form as parameters are
passed by ref with DO. I personally prefer style 1, but style 2 is the only way
to call IN [prg,app,exe] which can be helpful in large legacy programs.

regds

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

Click here to load this message in the networking platform