Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd behavior with AFIELDS function
Message
De
11/06/1997 20:17:32
Jody Cairns
OAO Technology Solutions
Moncton, Nouveau-Brunswick, Canada
 
 
À
11/06/1997 16:08:01
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00035943
Message ID:
00036011
Vues:
49
>This was a good one. The 5.0 debugger helped me with this. At your wait window, t is a reference to tmp.t, NOT the local variable. Goes to show the importance of proper naming conventions, even for seemingly insignificant variables. Move the WAIT to the line after USE and everything is OK.

Doh!

It occured when I was going through the elements from an AFIELDS() array from a table I imported from a large spreadsheet. My control variable in my FOR look was "i", which was, as you helped point out, a field within my imported table.

Thanks,

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

Click here to load this message in the networking platform