Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Bug, who's seen it?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00304389
Message ID:
00304567
Vues:
27
Christof,

Here's another infelicity of teh WITH/ENDWITH construct that I got bit by. The object reference is resolved on the WITH line and it is not refreshed later;
GO TOP
SCATTER NAME MyData
SCAN
   WITH MyData
       .Name = "Joe Smith 1"
   ENDWITH
   GATHER NAME MyData
   SKIP
   SCATTER NAME MyData
ENDSCAN
The above code will only change the first record because it loses the reference to MyData after the first pass.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform