>>>local 1,2,3,4,5,6,7
>>>
>>>i want to store a value for each variable.
>>>
>>>Thank you very much.
>>
>>For a group of related variables, you would use an array.
>>
>>Here is an example, to store 10 different values:
>>
dimension MyValues(10)
for i = 1 to 10
MyValues(i) = i * 10
next
? MyValues(1)
? MyValues(3)
>>HTH,
>>
>>Hilmar.
>
>No it won't. You'll have an array MyValues with 10 entries of 100. You need MyValues[i] = i * 10 to get individual values.
That's right, I forgot the subscript. I now added it to the code above.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)