Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Variables in a SCAN
Message
 
To
14/01/2009 22:38:58
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01373889
Message ID:
01373915
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform