Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Names instead of numbers as indexes of arrays
Message
From
02/03/2009 16:50:24
 
 
To
24/02/2009 11:39:09
General information
Forum:
Visual FoxPro
Category:
Web Services
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01383776
Message ID:
01385113
Views:
26
Hi,

I don't know if this helps but try it any way
#Define product_id 1
#Define Description 2
Dimension aArray[4]
aArray[1] = "0001"
aArray[2] = "product description"

? aArray[Product_ID]
? aArray[Description]
Previous
Reply
Map
View

Click here to load this message in the networking platform