Respond to this message
Return to Index
What are you using the 2 dimensional Item array for?
Posted Nov 23, 2009 2:09 PM
DIM Item() is never used.
Actually num should be Item(i, 1), stock = Item(i, 2), etc.
If you are a beginner, I would try to avoid 2 dimensional arrays until you understand them better. When you use them, you must visualize a table of values representing several array values.
You can not mix variable types in them either so since some are decimal point values, the array will hold Single floating point values only. Same with string values.