Thank you.
One more question. How do I sendkeyboard commands in JavaScript as we do in vfp ie:
keyboard "{HOME}"
Neil
>>Hi ,
>>
>>How do I dimension an array in javascript?
>>
>>In vfp I do: dimension aTest[8,18]
>>
>>What is the JavaScript equiv?
>>Neil
>
>
>aTest = new Array(8);
>for (row = 0; row < 8; row++)
> {
> aTest [row] = new Array(18);
> }
>
>
>You canot redimension arrays in JS, however if you just use command like the following:
>
>
aTest[9] [20] = "some value on 10th row, 21st colum";
>
>it will automatically "resize" the array.
>
>Note that arrays in JS are zero-based (first element is with index 0) and actually are one-dimensional arrays (however you can have arrays from arrays as in the example above)
>
>HTH