Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Basic confusion
Message
De
15/12/1999 13:47:11
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00303899
Message ID:
00304231
Vues:
41
>>>For me, all it took was one instance where an assumption on my part led to problems. As you know, by default UDFPARMS is set to VALUE. I ran into a case where, unbeknownst to me, in someone else's code I was working on, this was changed to REFERENCE. Can you say, "KA-BOOM", boys and girls? I thought you could.:-)
>>>
>>>Needless to say, from that day forward, I always assign incoming variables to local ones where modification is necessary.
>>
>>Did you have a few choice words with your fellow coder?
>
>Well, since she happened to be a friend, and since I was teaching her Fox at the time (this was several years ago, pre-VFP, btw). I took it as an opportunity to offer some, um, constructive critism. In short, I explained to her about what I call, "Mom's rule": Put things back the way you found them!

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

Click here to load this message in the networking platform