09-24-2009, 06:26 PM
Hi,
I'm trying to re-dimension a global array declared in a library file associated to my test. I'm using the ReDim sentence inside an action but I get "Illegal assignment" error.
This is what I have:
in a library file (library.qlf):
in an action of a qtp test case:
I link the library file to the test and the global array is recognized in the action but I get "Illegal assignment" error at run time.
Would appreciate any kind of help
Martin
I'm trying to re-dimension a global array declared in a library file associated to my test. I'm using the ReDim sentence inside an action but I get "Illegal assignment" error.
This is what I have:
in a library file (library.qlf):
Code:
Dim dinamicArray() 'define a global dinamic array
in an action of a qtp test case:
Code:
...
ReDim dinamicArray(2)
....
I link the library file to the test and the global array is recognized in the action but I get "Illegal assignment" error at run time.
Would appreciate any kind of help
Martin