Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Field overlaping local variable - Bug or not ?
Message
De
05/06/2003 07:39:51
 
 
À
05/06/2003 05:29:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00796540
Message ID:
00796569
Vues:
15
I used to think that too, but as Jim pointed out, that's what the 'm.' is for. Once you get into the habit of explicitly pointing to what you want - ie - always using alias.field and m.variable, not only will your code become more readable, but Fox will no longer have to guess what you mean, and it will begin to feel more natural.

Like I said, I had the same argument you do once upon a time, but I've since changed my mind.

Alan

>>Hi Srdjan,
>>
>> Because VFP read as first field OK from cursor test before variable.
>>
>
>Hi Martin :)
>
>I understood what is happening - What I am saying is that this situation shld be handled somewhat differently by VFP.
>
>That is all.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform