Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedure Commands
Message
De
23/03/2004 15:01:54
 
 
À
23/03/2004 14:47:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00888970
Message ID:
00889000
Vues:
18
Tore,

in theory you are correct, but if you have legacy code where
oodles of functions are given the same name you better tread
VERY carefully. I've encountered this in a large FPW app -
if you want to be nice you can call it an early attempt in
template programming...

Usually I'ld just move the proc's into a proc
library if I'ld need the return value, but even that won't work
if there is a function with the same name defined in the program file
of the current proc.

Then it is safer to call the specifc proc IN Special.app,
and if you need the return value this is IMHO best done with
the wrapper I described in my other posting.

Sometimes even the "best" resolve is as ugly as the other code...

my 0.02 EUR

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

Click here to load this message in the networking platform