Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Same function name and the 2nd one is run?
Message
De
02/12/2004 18:16:35
Mike Yearwood
Toronto, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00966500
Message ID:
00966558
Vues:
7
Hi Mark

I really believe one has to have a set of reasons to support a decision, but it it easy to forget them sometimes, especially when a general rule will suffice.

I make it a general rule to not have function / procedure libraries.

I make each function it's own little .PRG. That way there could only even be two if I put them in different folders, which I would consider a mistake. ;)

>>Pretend this is theoretical... <g>
>>
>>I have two exact-named functions in a PRG. A call at the top of the program will run the 2nd one, not the first, which I thought would be the logical choice. Anyone know why? Is this always the case?
>
>Yes, that is exactly what is supposed to happen. Been that way for as long as I can remember.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform