Hi Yossi
What are you using an array for? An indexed cursor may be faster.
http://fox.wikis.com/wc.dll?Wiki~SEEKvsASCAN~WIN_COM_API>>>Hi All:
>>>
>>>What is the syntax for initializing an array without having to do a loop. Say I want to initialize an array with letters of the alphabet.
>>>
>>>Something like:
>>>
>>>
>>>myArray = ('A', 'B', 'C'....)
>>>
>>>
>>>Thanks,
>>>
>>>Yossi
>>
>>lcString = 'A,B,C,D'
>>
>>ALINES(@laArray, lcString, ',')
>
>Naomi, Sergey, Tamar,
>
>1. My VFP doesn't like the '@'. It works well without this.
>2. How can I initialize a 2 dimensional array?
>
>Thanks,
>
>Yossi