Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating Variables in a SCAN
Message
 
À
14/01/2009 22:38:58
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01373889
Message ID:
01373915
Vues:
16
Jay,

Why wouldn't you use an array instead? in my opinion much simpler to deal with... but then I don't know your specific requirement :)
local laArray,lnX
select mytable
lnX=0
scan all
  lnX=lnX+1
  dimension laArray(lnX)
  laArray(lnX)=mytable.myfield
endscan
Brandon Harker
Sebae Data Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform