Arrays in other units
Here's a head scratcher.
I am converting some test cases from purely procedural scripts to using classes.
One of the class routines uses an array declared in another unit.
From the unit with the classes I can interrogate the ArrayHighBound value of the array and use the Evaluate tool on it when stepping through the script, but when I try to interrogate the actual values in the array from any script in the classes unit, I get a "Variant Array Index out of bounds" error.
Moving the declaration of the array into the classes unit solves the problem, but it has caused me a sleepless night!
Re: Arrays in other units
I'm really sorry for any inconvenience caused by this problem. It does exist in DelphiScript scripts for multi-dimensional arrays.
Save on AutomatedQA Products