09-05-2008 08:15 AM
to make it easier on the user i have been asked to have an array index from 1-30 instead of 0-29 i have not found an easy way to do this yet and was wondering if anyone had any ideas.
I am ok with having the 0 element be blank if the user can only see and input values in 1-30.
09-05-2008 08:19 AM
Hey,
There is no way to change the indexing of an array. You can build a dummy array with values from 1-30, or just decrement/increment the users input for your calculations. What he is seeing at the GUI does not have to be the way you work with it within the code.
Christian
09-05-2008 08:34 AM
As Christian Suggested you can quite easily manipulate an array to do what you want with it.
Here is an example that might work for you.